Don't need to know the version for this one: REReplaceNoCase(content,"<img[[:space:]][^>]*src="[^"]*whatever.jpg[[: space:]]*"[^>]*>","","ALL")
> CFMX or CF 5.0? > On 3/28/06, Pete Ruckelshaus <[EMAIL PROTECTED]> > wrote: >> I'm extending the content management system that several >> sites I >> manage is based upon (I built the CMS and have evolved it >> over the >> past year or so). >> >> One of the things I need to be able to do is remove HTML >> IMG tags from >> the content field in the database; I know the name of the >> image whose >> tag needs to be removed. >> >> So, given a file name of "whatever.jpg", how would I >> remove the entire >> HTML image tag that includes that image name? I'm going >> to assume >> that rereplacenocase() is the right tool to use, but my >> REGEX skills >> aren't all that strong. >> >> Thanks, >> >> Pete >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236381 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