We don't bite newbies here... much | |
PerlMonks |
Re: Re: Re: regex issueby optimist (Beadle) |
on Feb 28, 2004 at 00:46 UTC ( [id://332429]=note: print w/replies, xml ) | Need Help?? |
Well, then, you need to match on both the name and the age:
should do the trick. If no one else ever touches the file, you can get away with eliminating with \s* on either side, but I figure they don't hurt, on the off chance someone brings the data file into an editor at some point.
In Section
Seekers of Perl Wisdom
|
|