手机
当前位置:查字典教程网 >编程开发 >ASP教程 >ASP常用函数:ReplaceHTML
ASP常用函数:ReplaceHTML
摘要:

<%

'去掉HTML标记

PublicFunctionReplaceHTML(Textstr)

DimStr,re

Str=Textstr

Setre=NewRegExp

re.IgnoreCase=True

re.Global=True

re.Pattern="<(.[^>]*)>"

Str=re.Replace(Str,"")

SetRe=Nothing

ReplaceHTML=Str

EndFunction

%>

【ASP常用函数:ReplaceHTML】相关文章:

ASP常用函数:LastDay()

ASP函数大全

ASP常用函数:Delay()

ASP常用的函数

ASP 非法字符过滤函数

ASP常用函数:HTMLDecode

ASP常用函数:IIF()

ASP中经常使用的SQL语句与教程说明

ASP中常用的变量命名规则

ASP常用函数:CStrIP()

精品推荐
分类导航