rereplaceNoCase(getLocationData.Name, '[^[:alnum:]]', '_', 'all') On Tue, Jul 29, 2008 at 11:15 AM, Tony <[EMAIL PROTECTED]> wrote:
> so would that be: > > > rereplace(getLocationData.Name,'[^ALPHANUM]','_','all') > > > thanks > > -- tony > > Better than a thousand hollow words, is one word that brings peace. > -- siddhartha gautama > > > > On Tue, Jul 29, 2008 at 12:33 PM, Jim Davis <[EMAIL PROTECTED]> > wrote: > >> -----Original Message----- > >> From: Tony [mailto:[EMAIL PROTECTED] > >> Sent: Tuesday, July 29, 2008 11:51 AM > >> To: CF-Community > >> Subject: regex question > >> > >> hi there. > >> i need to get the regex sequence for all special characters so that i > >> can use > >> that in a reReplace() function. > >> > >> < > & " ' > >> > >> are the specific ones that i need for this application, but isnt there > >> some sort > >> of CONSUMMATE one that has all of them? > > > > There is a POSIX code (I think ALPHANUM) that only matches numbers and > > letters - you could always negate that (using ^). It might give you what > > you want. > > > > 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:264895 Subscription: http://www.houseoffusion.com/groups/CF-Community/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5
