Yeah I tried that one last night as well, The only issue there is that if
it doesn't match all the criteria it will skip them all. i.e. say ! is not
in the list of things to replace, it will then skip @ and % etc.

Will keep on truckin.

> REReplace(string, "[EMAIL PROTECTED]&()]", "ALL")
> 
> give something like that ago
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Jeremy
> Sent: Thursday, February 24, 2005 6:05 PM
> To: CFAussie Mailing List
> Subject: [cfaussie] Replace()
> 
> 
> Hey,
> 
> Quick Question, I have a string.
> 
> <cfset Desc = "The cow's jumped over the moon and landed, in scotts yard.">
> <cfset NewDesc = #ReReplace(Desc,",","","ALL")#>
> 
> It will remove the , out of the string however if I want to have a list of
> things to remove i.e. , ' $ etc. Whats the best way to go about doing
> this.
> 
> I got something working simular using Javascript but this is in a process
> page...me think perhaps cfscript and loop it or something.
> 
> Surely this has been done before.
> 
> Mucho Gracis!
> el Jeremino
> 
> ---
> You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to
> [EMAIL PROTECTED]
> Aussie Macromedia Developers: http://lists.daemon.com.au/

---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to