Trying to wrap my head around this and get it to work with the framework I'm
using...what does this say, in words...

[^a-z0-9]

does it say characters other than a-z, 0-9 or only characters a-z, o-9?
thanks


-----Original Message-----
From: Adrian Lynch [mailto:[EMAIL PROTECTED]
Sent: Monday, February 04, 2008 11:32 AM
To: CF-Talk
Subject: RE: Help with Regular expressions


<cfif REFindNoCase("[^a-z0-9]", yourString)>
        Bad chars
</cfif>

Adrian

-----Original Message-----
From: Mark Fuqua
Sent: 04 February 2008 16:30
To: CF-Talk
Subject: Help with Regular expressions


I need to check and see that a form field has no special characters or
spaces, only 0-9 and a-z.  I'm guessing a regular expression could do that.?



I need a regular expression to do a pattern matching test.if it has anything
other than a-z or 0-9 it should fail.



Thanks



Mark Fuqua




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298069
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to