RE: supression of / and/or \

2006-05-08 Thread Ben Nadel
What kinds of problems are you having? Have you tried just replacing out the character? ... Ben Nadel www.bennadel.com -Original Message- From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] Sent: Monday, May 08, 2006 11:04 AM To: CF-Talk Subject: supression of / and/or

RE: supression of / and/or \

2006-05-08 Thread Munson, Jacob
I get wanting to remove the /, but you also want all the back slashes from your path? Here's how to remove the forward slashes: cfset noForwards = Replace(cfhttp.FileContent,/,,all) If you what to remove both at the same time: cfset noSlashes = ReReplace(cfhttp.FileContent,\\|\/,,all)

Re: supression of / and/or \

2006-05-08 Thread Tom Chiverton
On Mon, May 8, 2006 at 4:04 PM, in message [EMAIL PROTECTED], [EMAIL PROTECTED] wrote: Hi list, I want to supress a / or a \ in an cfhttp.FileContent output like in: safeFile=rereplace('[/\/]','','ALL'); I think - whatch the escaping on the reg. exp :-) Tom Chiverton