过滤掉html字符

Function UBBCode(strValue)
Dim RegExp
Set RegExp=New RegExp
RegExp.IgnoreCase 
=True
RegExp.Global
=True
regexp.pattern
="[<|〈](.[^\>|〉]*)[>|〉]"
strvalue
=regexp.replace(strvalue,"")
Set RegExp=Nothing
UBBCode
=strValue
'输出错误
set regEx=nothing
End Function
posted on 2008-01-02 17:16  radman  阅读(121)  评论(0)    收藏  举报