notepad ++正则表达式搜索替换为html

时间:2019-07-29 08:13:45

标签: notepad++

我要替换的是

href="products/Integrated-Circuits(ICs)/Linear-Amplifiers-Instrumentation%2cOP-Amps%2cBu.html" 

href="#"

我希望对于Notepad ++来说并不难。

1 个答案:

答案 0 :(得分:0)

您可以在正则表达式模式下尝试以下查找和替换:

Find:    \bhref="[^"]+\.html"
Replace: href="#"