Thanks for the help. I am trying to do it like this: <cfset d2 = rereplace(lcase(d1) , '[A-Za-z0-9 ]', '','all') />
but (understandably) it is doing the reverse of what I want. It is replacing all the numbers and letters. How do I change it so it only picks characters that are not numbers and letters? Thanks >The regex to use would look like this "[A-Za-z0-9 ]" > >-Mike Chabot > >On Sun, Apr 20, 2008 at 5:17 PM, Mike Chabot <[EMAIL PROTECTED]> wrote: >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303839 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

