完美替换html代码
编程学习 2021-07-05 10:07www.dzhlxh.cn编程入门
<[a-zA-Z][^>]*\son\w+=(\w+|'[^']*'|""[^""]*"")[^>]*>
<[^>]*>
Source= SRegExp.Replace(Source,"")
SRegExp.Pattern="<"
Source= SRegExp.Replace(Source,"<")
<[^>]*>
Source= SRegExp.Replace(Source,"")
SRegExp.Pattern="<"
Source= SRegExp.Replace(Source,"<")