I don't see where you need reReplace(), change it to replaceNoCase() or escape the special characters in substring1.  I'm not up to speed on CF's implementation of regexp's but at a minimum you need . and ? escaped - "\.html\?nextPage=1".



At 5/26/2005 02:41 PM, you wrote:
Hi All,
<cfset var1 = '<a href="" style="text-decoration: none">hello</a>'>
<cfset var1 = ReReplaceNoCase(var1, ".html?nextPage=1", "index2.html", "one")>
<cfoutput>#var1#</cfoutput>
 
With the code above var1 remains the same. 
 
What am I doing wrong?
 
 
Ron Mast
Webmaster
Truth Hardware
Ph: 507-444-4748
Fx: 507-444-5361
www.truth.com
 

_______________________________

This e-mail and any files transmitted with it are confidential and are intended solely for the use of the individual to whom they are addressed.  If you are not the intended recipient or the individual responsible for delivering the e-mail to the intended recipient, please be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Reply via email to