Do you want to match any parenthesis, bracket, brace, or do you want to match them balanced?
In the latter case, you might be interested in Regexp::Common.In reply to Re: regex question Underscores, lines and paratheses.
by soonix
in thread regex question Underscores, lines and paratheses.
by sbrothy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |