I am working on a small app where I need to remove the starting and ending
tags and I am having a little trouble getting the expression right.
Currently I have this bit of code. The issue is on the second output, nothing is displayed.
<cfcontent reset="true"/>
<cfset myStr = '<br> <br> <br> <br> This is a great Test<br> do you like my test? <br><br><br>'>
<cfoutput>#myStr#</cfoutput>
<cfset myNewString = REReplaceNoCase(myStr, '(^<.*?>+)|(<.*?>+$)', '' ,'ALL')>
<cfoutput>New: #myNewString#</cfoutput>