in reply to
RegEx for Matching paranthesis
if you want only the text betwen the most left "(" and the most right ")" then this should do:
/^[^(]*(.*?)[^)]*$/
---edit---
oh, yes, after
$text =~ /^[^(]*(.*?)[^)]*$/;
the snippet you want is in
$1
.
Comment on
Re: RegEx for Matching paranthesis
Select
or
Download
Code
In Section
Seekers of Perl Wisdom