[EMAIL PROTECTED] wrote:
Is there a module out there that I can use to parse a text line and return the pieces that are enclosed in paren's?

You don't need a module for that just use regex's:


my @text_inside_parens = $string =~ m/\((.*)\)/g;

HTH

Lee.M - JupiterHost.Net

Thanks




-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to