[thelist] numeric only regex? [ and one more perhaps?]

Tom Dell'Aringa pixelmech at yahoo.com
Wed Aug 3 08:40:31 CDT 2005


--- Chris at globet.com wrote:

> What about the following:
> 
> var namematch = /^[a-zA-Z\*]{3,}$/.test(nametext.value);

It's close - it allows aa* (which makes our server throw an error - it needs 3 chars). I changed
{3,} to {4,} and it seems to work...

Tom


http://www.pixelmech.com/

Melissa: Ace, Where are you?
Ace Ventura: I'm in Psychoville and Finkle's the Mayor.



More information about the thelist mailing list