in reply to
Re: Repairing bad CSV
in thread
Repairing bad CSV
That mostly works. It will match \n at the end of the line. I also usually use not-matching group. This is what I ended up using:
s/(?:[^,])"(?:[^,\n])/""/g;
[download]
Comment on
Re: Re: Repairing bad CSV
Download
Code
In Section
Seekers of Perl Wisdom