Question Locked

CSV Parsing , newline character within double quotes

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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..

2 replies

This discussion is closed to new replies.