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