Function LoseClassTag(ContentStr) '================================================== '更多资料请访问 飞飞Asp乐园 http://www.ffasp.com '==================================================
Dim ClsTempLoseStr,regEx ClsTempLoseStr = Cstr(ContentStr) Set regEx = New RegExp regEx.Pattern = "(class=){1,}(""|\'){0,1}\S+(""|\'|>|\s){0,1}" regEx.IgnoreCase = True regEx.Global = True ClsTempLoseStr = regEx.Replace(ClsTempLoseStr,"") LoseClassTag = ClsTempLoseStr Set regEx = Nothing End Function
飞!飞Asp技术乐园
|