更新时间:2022-05-09 00:04:25
b $ b
This should work:
<cfset myStr = REReplaceNoCase(myStr, "(\bhttp://[a-z0-9\.\-_:~@##%&/?+=]+)", "<a href=""\1"">\1</a>", "all") />
使用 Coldfusion 将 URL 包裹在带有 href 标记的字符串中
使用Coldfusion在带有href标记的字符串中包装URL