"be consistent" | |
PerlMonks |
Re: specific numbers of digitsby pfaut (Priest) |
on Mar 19, 2003 at 12:28 UTC ( [id://244318]=note: print w/replies, xml ) | Need Help?? |
Add a negative lookahead assertion to make sure the next character is not a digit: /\d{5}(?!\d)/
In Section
Seekers of Perl Wisdom
|
|