|
|
| more useful options | |
| PerlMonks |
Re: Regular Expression from Hellby perlmonkey (Hermit) |
| on Apr 15, 2004 at 15:34 UTC ( #345417=note: print w/ replies, xml ) | Need Help?? |
|
I think what you are looking for is: This will match: '^': anchor start of string \d{4}: exactly 4 digits $: anchor end of string if you know it is always going to be digits, then length would probably be eaiser:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||