Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<cfif REFindNoCase(".+\.([a-zA-Z]{3,3})", FileName ) GT 0>
([a-zA-Z0-9_])\.([a-zA-Z]{3,4})
ReReplace(filename, "^[a-zA-Z0-9_]+\.","")
I think you may be over complicating things with the RegEx. I would treat it as a list:If a string is let's say "filename.doc" or "filename.html", how can I simply remove everything before the dot + the dot keeping only the extension ?
ListLast('filename.doc','.')