In formatting a CSV, I want to replace all the commas separating the values with the pipe character, which would be easy except I have a column of strings (have quotes around values) that occasionally has a comma in it.
How can I either replace all the commas with the pipe except ones within quotes? OR, alternatively, how can I replace only pipe characters inside quotes? Since it's easy enough to change all the commas to pipes.