Upload a csv file with Javascript and HTML5. Mounir Messelmeni wrote the code that actually uploads and writes the file to console.log. See JS comments. I wrote the code that searches for a pattern and changes the content.