Function LoseIFrameTag(ContentStr) '================================================== '更多资料请访问 飞飞Asp乐园 http://www.ffasp.com '==================================================
Dim ClsTempLoseStr,regEx ClsTempLoseStr = Cstr(ContentStr) Set regEx = New RegExp regEx.Pattern = "(<iframe){1,}[^<>]*>[^\0]*(<\/iframe>){1,}" regEx.IgnoreCase = True regEx.Global = True ClsTempLoseStr = regEx.Replace(ClsTempLoseStr,"") LoseIFrameTag = ClsTempLoseStr Set regEx = Nothing End Function
飞飞Asp技术~乐园
|