如果我们需要将

<a href="http://www.tencent.com" target="_blank">关于腾讯</a>

  

替换成

<a href="#">关于腾讯</a>

  

使用的正则表达式为

查找:href=".*[^"]"

替换:href="#"

  

NotePad++正则替换

 

相关文章:

  • 2021-12-24
  • 2021-06-23
  • 2021-12-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-19
  • 2021-11-29
  • 2021-09-22
  • 2022-12-23
  • 2021-05-02
相关资源
相似解决方案