in reply to Regexp for Match Brackets
hi Gopal, try this one
print $& if $text=~m#(\(.*\))#;
the problem of your solution is that it takes all the text (parenthesis included) between the first open parenthesis and the last closed parenthesis, even if they are not balanced! :-P
cheers