<[a-za-z][^>]*\son\w+=(\w+|'[^']*'|""[^""]*"")[^>]*>
<[^>]*>
source= sregexp.replace(source,"")
sregexp.pattern="<"
source= sregexp.replace(source,"<")
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
-
re正则表达式练习
判断变量名是否符合要求import re names = ["name1","_name","2_name","...
[阅读全文]
-
-
常用前端相关知识
1.字符串.replace(正则, function(v,i,str){ return 'xxx' }) //...
[阅读全文]
-
-
-
-
-
-
网友评论