[thelist] regex help

Anthony Baratta anthony at baratta.com
Thu Aug 24 17:08:46 CDT 2006


Try this...

^\d{5}$


-----Original message-----
From: "Tom Dell'Aringa" pixelmech at gmail.com
Date: Thu, 24 Aug 2006 14:42:09 -0700
To: thelist thelist at lists.evolt.org
Subject: [thelist] regex help

> Heyo,
> 
> My pathetic regex skills strike again. All I need is a pattern to match 5
> digits (no alpha) no more, no less. I figured this:
> 
> \d{5}
> 
> Which works until you go *more* than 5 digits. It keeps saying its okay,
> when I have more than 5. How can I restrict it to 5 digits and 5 digits
> only?
> 
> Thanks
> 
> Tom
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 
> 



More information about the thelist mailing list