See perlfaq6 "Can I use Perl regular expressions to match balanced text?" but be sure you're looking at a recent version (Perl 5.8 or above) since earlier versions don't mention the excellent Text::Balanced solution.
It's also discussed in the Perl Cookbook, Recipe 6.17 (Matching Nested Patterns).
/-\
In reply to Re: RegEx for Matching paranthesis
by eyepopslikeamosquito
in thread RegEx for Matching paranthesis
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |