develooper Front page | perl.beginners | Postings from February 2002

reg exp question

Thread Next
Stuart Clark
February 7, 2002 04:11
reg exp question
Message ID:
How do I match a pattern that starts with a 4 and has 16 numbers in it.
I try /^4\d{16}/;
Also  how do I match a 16 digit number that starts with either 6565 or
starts with a number in the range of  555000-555100

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About