专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »Asp教程 » asp函数html:asp去掉Html代码函数 »正文

asp函数html:asp去掉Html代码函数

来源: 发布时间:星期四, 2008年9月25日 浏览:612次 评论:0
<%
FunctionRemoveHTML(strText)
DimRegEx
SetRegEx=NewRegExp
RegEx.Pattern=\"<[^>]*>\"
RegEx.Global=True
RemoveHTML=RegEx.Replace(strText,\"\")
EndFunction

AA=\"<ahref=’http://www.xrss.cn’target=’_blank’>http://www.xrss.cn</a>\"
Response.WriteRemoveHTML(AA)
%>

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: