[thelist] regexp help
Anthony Baratta
Anthony at Baratta.com
Mon Jul 14 13:15:51 CDT 2003
At 09:13 AM 7/14/2003, Richard Bennett wrote:
>Hi,
>I have a long string that I'm parsing in Perl, like this:
>
> 11 aaa| 2355 bbbb| 04 aff gge|...
>
>When I search for 04 I want to get the value 'aff gge' in a variable
>
>So far I'm trying like this, but it's not returning the correct string:
You can use this site to test your regex:
http://www.regxlib.com/RETester.aspx
--
Anthony Baratta
President
Keyboard Jockeys
"Conformity is the refuge of the unimaginative."
More information about the thelist
mailing list