ASP移除所有HTML代码的函数
网络整理 - 09-08
ASP移除所有HTML代码的函数
以下为引用的内容:
Function RemoveHTML( strText )
Dim RegEx
Set RegEx = New RegExp
RegEx.Pattern = "<[^>]*>"
RegEx.Global = True
RemoveHTML = RegEx.Replace(strText, "")
RemoveHTML = replace(RemoveHTML," "," ")
End Function