CSV Parsing , newline character within double quotes - TechRepublic
Question
June 13, 2008 at 06:07 AM
plbro

CSV Parsing , newline character within double quotes

by plbro . Updated 18 years, 1 month ago

hello,

I am writing a web application in asp.net c#, which reads a csv file which includes contact details
ex.:

“name” ,”myaddressLine1,addressLine2 ,addressline3″,”phone”

actually problem is : within the address part there is an newline character, which broke the line in csv so that
instead of gettting single line, i am getting 2 lines… so i cant parse csv file correctly ..

any regular expression helps?

advance thanks for any suggetions..

This discussion is locked

All Comments