A double double quote ( "" ) is a literal double quote, and a single double quote ( " ) is used to include text (including commas).
There is a regular expression for the csv field if this makes the task easier:
([^",\n][^,\n]*)|"((?:[^"]|"")+)"
Group 1 will contain the field if it is not in quotation marks, group 2 will contain the field if it is in quotation marks, minus the surrounding quotation marks. In this case, just replace all instances of "" with " .
source share