>I'm trying to find a way to match anything between two brackets [....] The stuff in >between will have alpha, numeric, and symbols (including / - @ and spaces) >For instance >[akens@egh-org blah/blah/blah] >I need to match that entire string, including the []'s >Here's the ugly thing I've gotten so far to do it. But I know there's a way to >simplify >it and just match anything between the []'s. Thanks for any advice. >\[[A-Za-z'-@]* \S+[A-Za-z'/]\] $line = 'dfdf[akens@egh-org blah/blah/blah]dsfdsf'; $line =~ /(\[.*?\])/; print $1, "\n"; -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
- Pattern matching Francesco Guglielmo
- Re: Pattern matching John W. Krahn
- Re: Pattern matching David vd Geer Inhuur tbv IPlib
- Re: Pattern matching Francesco Guglielmo
- pattern matching m . godara
- Re: pattern matching drieux
- RE: pattern matching David Gray
- Pattern Matching Akens, Anthony
- Re: Pattern Matching Janek Schleicher
- RE: Pattern Matching Hanson, Robert
- RE: Pattern Matching Shishir K. Singh
- RE: Pattern Matching Akens, Anthony
- Re: Pattern Matching Harry Putnam
- Pattern Matching Dan Finch
- RE: Pattern Matching David . Wagner
- RE: Pattern Matching Bob Showalter
- pattern matching learn perl
- Re: pattern matching Felix Geerinckx
- RE: pattern matching nkuipers
- RE: pattern matching learn perl
- RE: pattern matching Felix Geerinckx