Mark... If you only want to replace a div with an nbsp inside it, then this should work a treat:
Replace(string,"<div> </div>"," ","ALL") If you're hardcoding your search to that literal string, then REReplace is not needed. <!----------------//------ andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --------------//---------> -----Original Message----- From: Mark Leder [mailto:[EMAIL PROTECTED] Sent: Monday, October 10, 2005 8:03 AM To: CF-Talk Subject: RegEx Help I'm wanting to replace the literal string: <div> </div> with an empty space using REReplace(). I can't seem to get this regex to work. What am I doing wrong? ^(?=.*?\b<div>\b)(?=.*?\b \b)(?=.*?\b</div>\b).*$ Thanks, Mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220536 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

