That's correct, and actually I simplified it a bit (removed one
character from the regex):
<cfset noSlashes = ReReplace(cfhttp.FileContent,"\\|/|\?","","all")> 

> -----Original Message-----
> From: Uwe Degenhardt [mailto:[EMAIL PROTECTED] 
> Sent: Monday, May 08, 2006 9:40 AM
> To: CF-Talk
> Subject: Re[2]: supression of / and/or \
> 
> Hi Jacob, thanks. (and thanks all the others, who replied !)
> When I want a "?" to escape as well would it be like:
> 
> <cfset noSlashes = ReReplace(cfhttp.FileContent,"\\|\/|\?","","all")>
> 
> ?? Uwe
> 
> MJ> 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:
> MJ> <cfset noForwards = Replace(cfhttp.FileContent,"/","","all")>
> 
> MJ> If you what to remove both at the same time:
> MJ> <cfset noSlashes = ReReplace(cfhttp.FileContent,"\\|\/","","all")>

This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. A1.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239816
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to