I\'m really confused because this was working earlier and I don\'t know why it is broken now. I\'ve got CSV files that I\'m trying to parse. I\'m accessing them using the fo
I was dealing with the same problem today and discovered that trailing spaces at the end of some lines were causing the parser to fail. I resolved this with this regular expression: csvString.replace(/[ \t]+$/gm, '')