develooper Front page | perl.beginners | Postings from September 2009

regex question

Thread Next
From:
Gregory Machin
Date:
September 15, 2009 00:30
Subject:
regex question
Message ID:
30200a940909150030q492322a7udb1882047a65700f@mail.gmail.com
Hi

I'm look for code example that will only select a string containing 3
digits .. The string cant be less than 3 digit , can't be more than 3
and can't contain any other characters.

I have googled and found code that will find 3 consecutive digits
within a string or at the beginning.

Any ideas ?
Thanks
G

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About