28,409
社区成员




<script>
var a = '<a href="http://fdsfds.com/fdfd.htm">1</a>\n<a href="http://dsfdfd.cn/5354.htm">2</a>\n<a href="http://fsef.net/45rr.htm">3</a>本页链接http://www.grger.com/435435.htm';
alert(a.replace(/htm([^<>]*?)(?=>)/gi,'html$1'));
</script>
dim Re
Re = new RegExp
Re.Pattern = "htm(?!l)([^<>]*?)(?=>)"
Re.IgnoreCase = True
Re.Global = True
Re.Replace(Str,"html$1")