in reply to How can I match between two integer numbers
This seems to give the answers you want
/^\s+\d+\s+(.*?)\s+\d+\s+(.*?)$/;
It's worth looking at the $`, $& and $' variables to help you debug regular expressions.
--<http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
---|
Replies are listed 'Best First'. | |
---|---|
Re:^2 How can I match between two integer numbers
by ph0enix (Friar) on Jan 02, 2003 at 13:20 UTC | |
Re: Re: How can I match between two integer numbers
by talexb (Chancellor) on Jan 02, 2003 at 16:13 UTC | |
by davorg (Chancellor) on Jan 02, 2003 at 16:22 UTC |
In Section
Seekers of Perl Wisdom