Some of the answers I gave in the following might help (and illustrate the complexity) --> In place replace, ignoring between quotes
especially this post: Re^2: In place replace, ignoring between quotes (escapes)
Cheers Rolf
( addicted to the Perl Programming Language)
In reply to Re^2: split on comma unless within quotes... (updated)
by LanX
in thread split on comma unless within quotes...
by bcarroll
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |