/[^a-z]/
/[^0-9]/

And \d should also work for numeric.
POSIX doesn't work in JS.

Taco Fleur - Pacific Fox
an industry leader with commercial IT experience since 1994 .
http://www.pacificfox.com - Web Design and Development

 




> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Andrew Scott
> Sent: Tuesday, 4 October 2005 3:05 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] JS Regular Expression
> 
> 
> 
> How do I do a regular expression in JS that will test the 
> string is non alpha, non numeric? Does the [alpha][numeric] 
> work in JS as it does in CF?
> 
> My JS regExpr really needs improving:-)
> 
> 
> Regards
> Andrew Scott
> Analyst Programmer
> 
> CMS Transport Systems
> Level 2/33 Bank Street
> South Melbourne, Victoria, 3205
> 
> Phone: 03 9699 7988  -  Fax: 03 9699 7976
> 
> Quote:
> Overflow on /dev/null; please empty the bit bucket.
> --------------------------------------------------------------
> --------------
> --------------------------
> -----
> 
> 
> 
> ---
> You are currently subscribed to cfaussie as: 
> [EMAIL PROTECTED] To unsubscribe send a blank email 
> to [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/
> 



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to