函数|正则|字符串
RegReplace(str,regexStr,RepalceStr)对str进行正则替换
如:
htmlstr2=RegReplace(htmlstr,"<(.[^><]*)>","")
返回htmlstr2为123456
DimNewStr,regEx
NewStr=Str
ifisnull(NewStr)then
RegReplace=""
exitfunction
endif
SetregEx=NewRegExp
regEx.IgnoreCase=True
regEx.Global=True
regEx.Pattern=PatternStr
NewStr=regEx.Replace(NewStr,RepStr)
RegReplace=NewStr
endfunction