> -----Original Message-----
> From: Tony [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 29, 2008 2:15 PM
> To: CF-Community
> Subject: Re: regex question
> 
> so would that be:
> 
> 
> rereplace(getLocationData.Name,'[^ALPHANUM]','_','all')

Damn, dude - you're making me look at the docs!  ;^)

http://livedocs.adobe.com/coldfusion/8/htmldocs/regexp_09.html

Posix character classes are used like this:  [[:class:]].  The class is
actually "alnum" so the full statement should be (I'm pretty sure):

rereplace(getLocationData.Name,'[^[[:alnum:]]]','_','all')

Jim Davis





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

Archive: 
http://www.houseoffusion.com/groups/CF-Community/message.cfm/messageid:264899
Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5

Reply via email to