no need to escape the space char with a slash.

are you sure it is only 1 space, and are you sure it is a space char
(chr(32))?

If so, remove the slash in front of the space, and it should work.

also, pet peeve, no need for the ## around the function. Works either way,
though, so ignore if you prefer.

Jerry Milo Johnson

On Mon, Nov 22, 2010 at 8:48 PM, Rick Colman <rcol...@cox.net> wrote:

>
> I am trying to replace two trailing parens )) with a single paren.
>
> here is a sample string:
>
> (K AAA) (N AAC) (E GAA) )
>
> looks like there is a space in between the two )), so I tried:
>
> <cfset cleandata2 = #REReplaceNoCase( cleandata1,'\)\ \)',')','all')#>
>
> but this is not working.
>
> Any ideas as two what is wrong greatly appreciated.
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339442
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to