On Wed, Dec 10, 2008 at 3:02 PM, Peter Boughton <[EMAIL PROTECTED]> wrote:
> > rereplace(foo, '[^\w]', '', 'all') > > will replace any non-alphanumeric character > > No need to complicate things with an inverted character class. > \W is same as [^\w] > fair enough. good catch. > Also, this bugs me immensely: > > assuming 'foo' is the file name > > JUST USE THE VARIABLE FILENAME THEN! > > So: > rereplace( FileName , '\W' , '' , 'all' ) > bah. i like foo :P -- I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:316584 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4