Read perldoc perlre and search for "Recursive subpattern" and you'll find how to handle nesteded parenthesis.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Regex to pull out string within parenthesis that could contain parenthesis
by roboticus
in thread Regex to pull out string within parenthesis that could contain parenthesis
by dpelican
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |