好东西,老外用正则表达式写的HTML分离函数
存成.asp文件,执行,你用ASPHTTP抓内容的时候用这个很爽,当然自己要改进一下了"'Replace all HTML tag matches with the empty stringstrOutput = objRegExp.Replace(strHTML, "")'Replace all
存成.asp文件,执行,你用ASPHTTP抓内容的时候用这个很爽,当然自己要改进一下了"'Replace all HTML tag matches with the empty stringstrOutput = objRegExp.Replace(strHTML, "")'Replace all
代码例子如下:" 'Replace all HTML tag matches with the empty string strOutput = objRegExp.Replace(strHTML, "") 'Replace all with strOutput = Replace(strOut