Simply use Text::CSV_XS, which knows about quoted fields and handles them properly.
In reply to Re: Complicated search and replace on a string
by Corion
in thread Complicated search and replace on a string
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |