asp过滤所有html标签

2023-07-30阅读:2507

Function RemoveHTML(strText)
 Dim RegEx
 Set RegEx = New RegExp
 RegEx.Pattern = "<[^>]*>"
 RegEx.Global = True
 RemoveHTML = RegEx.Replace(strText, "")
End Function


大家都爱看
查看更多热点文章