in reply to CSV cleanup problem...

if you know the input is of the form:

"title", "messy stuff", "number"

you can use this:

/^"(.*?)", "(.*)", "(.*?)"/g to give title in $1, messy stuff in $2 and number in $3.

Note that fairly fixed formatting is assumed. Use \s* as required in place of the space in '", "'.


Perl is Huffman encoded by design.