更新时间:2022-06-02 00:44:56
这应该可行:
<cfset myStr = REReplaceNoCase(myStr, "(http://[a-z0-9.-_:~@##%&/?+=]+)", "<a href=""1"">1</a>", "all") />
使用 Coldfusion 将 URL 包裹在带有 href 标记的字符串中
使用Coldfusion在带有href标记的字符串中包装URL