in reply to Removing delimiter

You might want to look at the module Text::CSV. It should help you process comma delimited data that contains escaped commas as part of the data value.

... but if your data is simple then stick with the substitution mentioned earlier.

Inman