Mark Fuqua wrote:
> 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
The ^ character is the 'NOT' operand of regex when used inside of a 
character class [...] set.  For example [a-z0-9] says match any 
character set of 0-9 or a-z (case sensitive).  Adding the carrot ^ 
reverses this, i.e. [^a-z0-9] means any character NOT in the set of 0-9 
or a-z.

Just note that the meaning of the carrot ^ symbol changes its meaning 
when outside of a character set [...].  Outside of this it matches the 
beginning of the string and|or line.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:298072
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