ASP常用函数:ReplaceHTML
2007-02-07 00:00
357 查看
<%
'去掉HTML标记
Public Function ReplaceHTML(Textstr)
Dim Str, re
Str = Textstr
Set re = New RegExp
re.IgnoreCase = True
re.Global = True
re.Pattern = "<(.[^>]*)>"
Str = re.Replace(Str, "")
Set Re = Nothing
ReplaceHTML = Str
End Function
%>
'去掉HTML标记
Public Function ReplaceHTML(Textstr)
Dim Str, re
Str = Textstr
Set re = New RegExp
re.IgnoreCase = True
re.Global = True
re.Pattern = "<(.[^>]*)>"
Str = re.Replace(Str, "")
Set Re = Nothing
ReplaceHTML = Str
End Function
%>
相关文章推荐
- ASP常用函数:ReplaceHTML
- ASP常用函数:CStrIP()
- ASP常用函数:ArrayToxml
- Asp.Net常用函数
- Asp.net(C#)常用函数表
- ASP.NET中常用到的27个函数集
- asp 需要掌握的常用函数
- ASP常用函数表
- asp常用函数
- asp.net常用函数
- 我写ASP时常用到的一些函数(2)
- ASP.NET网络编程中常用到的27个函数集
- Asp.NET常用函数
- [导入]ASP常用函数:WriteLn() PrintLn()
- 我常用的一些ASP自定义函数
- 13-asp.net(c#)常用函数表
- Asp.net(C#)常用函数表
- Asp.NET常用函数 (VB.net)
- ASP.NET常用函数(推荐)
- ASP常用的函数和说明