如果我们需要将
<a href="http://www.tencent.com" target="_blank">关于腾讯</a>
替换成
<a href="#">关于腾讯</a>
使用的正则表达式为
查找:href=".*[^"]"
替换:href="#"
如果我们需要将
<a href="http://www.tencent.com" target="_blank">关于腾讯</a>
替换成
<a href="#">关于腾讯</a>
使用的正则表达式为
查找:href=".*[^"]"
替换:href="#"
转载于:https://www.cnblogs.com/1906859953Lucas/p/10832648.html