Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: some regex helpby Elijah (Hermit) |
on Apr 05, 2004 at 21:59 UTC ( [id://342773]=note: print w/replies, xml ) | Need Help?? |
Well yes I believe using (.*) would be better than the alpha-numeric check of (\w*) simply because these values may have non-alpha-numeric characters in them at some time and would fail the pattern match.
Ex: Untested Well there is a way to extract and isolate everything you wanted but I do not know how you want to use the info when you have it so I just printed it to STDOUT.
www.perlskripts.com
In Section
Seekers of Perl Wisdom
|
|