>rereplace(foo, '[^\w]', '', 'all') >will replace any non-alphanumeric character in 'foo' (assuming 'foo' is the >file name). > > >On Wed, Dec 10, 2008 at 1:41 PM, D >
Great. Thank you. I also found out that REreplace(str, "[^a-zA-Z0-9]","","all") would achieve the same result but yours seems more elegant (which seems to say just keep {words}), my CF env = cf8 or cf81 for Windows, does your solution have any dependency? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316581 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4