Remove hyperlinks ( A tags ) from HTML - ColdFusion regular expression
If ever you want to remove hyperlinks from a HTML page - here you go.
This code assumes a variable has been created called myFile that has either been pulled from CFHTTP, a stored local file or from the ColdFusion page output:-
<cfset myFile = ReReplaceNoCase(myFile, "(<a.*?>)(.*?)(</a>)", "\2", "all")>
<cfoutput>Replaced content: #myFile#</cfoutput>
