This will work if CFMX defaults to a non-greedy match, or on either 5.0 or MX if there is only one <A> tag in the string.
It will replace everything between the first <> tag and the last </A> tag otherwise. (I think) If you are on MX, you can tell the regex to use a non-greedy match for the .* (Ninjas, is this syntax correct for MX - me being stuck in 5.0 land?) <cfset replaceStr = REReplace(str, "<a href[^>]*>.*?</a>", "", "ALL")> If you are on 5.0, you could cheat and assume no tags inside the anchor tag. <cfset replaceStr = REReplace(str, "<a href[^>]*>[^<]*</a>", "", "ALL")> Otherwise, I am stuck coming up with a regex that will work. Jerry Johnson >>> [EMAIL PROTECTED] 10/22/04 02:09PM >>> Ok. If you wish to remove all the text, do this: <cfset replaceStr = REReplace(str, "<a href[^>]*>.*</a>", "", "ALL")> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Purchase from House of Fusion, a Macromedia Authorized Affiliate and support the CF community. http://www.houseoffusion.com/banners/view.cfm?bannerid=38 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:182365 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