FunctionRemoveHTML(strHTML)'过滤HTML代码的函数包括过滤CSS和JS
StrHtml=Replace(StrHtml,vbCrLf,"")
StrHtml=Replace(StrHtml,Chr(13)&Chr(10),"")
StrHtml=Replace(StrHtml,Chr(13),"")
StrHtml=Replace(StrHtml,Chr(10),"")
StrHtml=Replace(StrHtml,"","")
StrHtml=Replace(StrHtml,"","")
DimobjRegExp,Match,Matches
SetobjRegExp=NewRegexp
objRegExp.IgnoreCase=True
objRegExp.Global=True
'取闭合的<>
objRegExp.Pattern="