Try this one out. rereplace(dataContent, "<img.*?src=['|""|](.*?)['|""| |].*?>", "\1", "all")
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----Original Message----- From: Jide Aliu [mailto:[EMAIL PROTECTED] Sent: Thursday, June 14, 2007 5:46 AM To: CF-Talk Subject: reReplaceNoCase() problem from a newbie, please help I have a body of text, in the body of text I want to replace all image tags with the value of the src attribute, so for example below "This is the body it can be as long as 8,000 character but within the body here is the image tag <img alt="" height="150" src="/uploads/allfiles/Image/BlissStarWars_15.jpg" width="200"/> and here I go blah blah another image tag with a different value in the src attribute <img alt="" height="150" src="/uploads/allfiles/Image/245.jpg" width="200"/>" All I want to do is to replace the <img> tags with the src value which is BlissStarWars_15.jpg for the first image tag encountered and 245.jpg for the second image tag. I have tried using the code below without any joy at all. <cfset content = reReplaceNoCase(dataContent,'<img.*?src=['|"](.*?)['|"].*?>','\1','ALL')> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 beta â Build next generation applications today. Free beta download on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

