laziness, impatience, and hubris | |
PerlMonks |
Re^3: Regular expression helpby admiral_grinder (Pilgrim) |
on Aug 18, 2005 at 18:50 UTC ( [id://484922]=note: print w/replies, xml ) | Need Help?? |
you can match with m/\d+/ and if that fails you can tell the user "string contains none numerical digit" or something like that.
In Section
Seekers of Perl Wisdom
|
|