<html>
<body>
<cfset txt='11:Feb:2019 "This is an Example!"'>
<cfset re1='.*?'> -->
<cfset re2='E'> -->
<cfset re3='.*?'> -->
<cfset re4='(E)'> -->
<cfset re = #re1#re2#re3#re4#>
<cfset m = #REFindNoCase(#re#,#txt#,1,"TRUE")#>
<cfif #ArrayLen(m.pos)# gt 1>
<cfset w1=#Mid(txt,m.pos[2],m.len[2])#>
<cfoutput>
(#replace(w1,"<" ,"<")#)
</cfoutput>
</cfif>
</body>
</html>
|