It is saying any character in the set that is not a-z or 0-9. NOTE: He's testing that a bad character is found (instead of that only good characters are found) which should be slightly faster since it can return false at the first bad character found. Make not of the ReFind**NOCASE** :) That could trip you up if you used REFind.
-jeff >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 > > ><cfif REFindNoCase("[^a-z0-9]", yourString)> > Bad chars ></cfif> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:298071 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4