I thought for sure that this would be something fairly easy to find. Alas, it was not. I did find a way to get all of the text from between the a tag, but not the links. Here's how you do it:
<cfset beginlink = REFindNoCase("https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?", myText)> <cfset endlink = findnocase('"', myText, beginlink)> <cfset linklen = endlink - beginlink> <cfset mylink = mid(myText, beginlink, linklen)>Obviously, you can optimize this into a couple of lines, but there it is. Share on Twitter Share on Facebook