Text::ParseWords::quotewords will work given the few sample lines of input you have provided, but it makes certain assumptions about your data format:
If these assumptions don't match your data, you might want to take a look at Text::CSV_XS ... the constructor allows you to specify attributes like: what quote character to use, what seperator character is, what escape character to use.
In reply to Re: Splitting strings with enclosed delimiters
by hossman
in thread Splitting strings with enclosed delimiters
by dsheroh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |