This pattern should account for <strong> as well now:
<cfset email =
refindNoCase("(<b>|<strong>)(([A-Z0-9_%+-]*\.)+[a-z0-9_%+...@[a-z0-9.-]+\.[a-z]{2,4})(<\/b>|<\/strong>)",
string, 1, true )/>Just amend the tag you want to wrap around the email "(<b>|<strong>)" and "(<\/b>|<\/strong>)" as shown above. Pipes are the "or" operators. -Pat On Fri, Jan 30, 2009 at 8:08 AM, Dean Lawrence <[email protected]> wrote: > > Hi All, > > Can anyone help me with a particular regex patten? I am trying to find any > email address that has at least one dot in the username portion and the > entire email string is surrounded by bold tags? > > Thanks > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318678 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

