一聚教程网:一个值得你收藏的教程网站

最新下载

热门教程

asp智能给内容加地址代码

时间:2022-07-02 22:34:55 编辑:袖梨 来源:一聚教程网

asp智能给内容加地址代码

function AutoUrl(str)
on error resume next
Set url=new RegExp
url.IgnoreCase =True
url.Global=True
url.MultiLine = True
url.Pattern = "^(http://[*A-Za-z*0*-9./=?%-&_~`@:+!]+)"
str = url.Replace(str,"[url=$1]$1[/url]")
url.Pattern = "(http://[*A-Za-z*0*-9./=?%-&_~`@:+!]+)$"
str = url.Replace(str,"[url=$1]$1[/url]")
url.Pattern = "^(

热门栏目