in reply to Re: Regex with malformed CSV files
in thread Regex with malformed CSV files
basically just adds two quotes if it finds one, or two quotes that are not preceeded or followed by a (,) comma. This still won't solve a rule if there's one such as$line =~ s/(?<!,)"{1,2}(?!,)/""/g;
|
|---|