SEO优化ASP正则

来源:互联网 发布:易语言问道登录器源码 编辑:程序博客网 时间:2024/06/07 04:01
Function LoseHtml(ContentStr)
 Dim ClsTempLoseStr,regEx
 ClsTempLoseStr = Cstr(ContentStr)
 Set regEx = New RegExp
 regEx.Pattern = "<.+>"
 regEx.IgnoreCase = True
 regEx.Global = True
 ClsTempLoseStr = regEx.Replace(ClsTempLoseStr,"")
 LoseHtml = ClsTempLoseStr
 response.Write(LoseHtml)
End function
原创粉丝点击