I'm not sure why I can not get this to work. What am I doing wrong? I want to replace <!--s1-->*<!--e1-->
TIA, Duane <cfset myStr1 = "blah <!--s1-->x1 y2<!--e1--> blah"> <cfset myStr2 = "abc"> <cfset newStr = ReReplaceNoCase(myStr1, "<!--s1-->[*]<!--e1-->", "<!--s1-->#myStr2#<!--e1-->")> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm