Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何替换Notepad ++中每一行代码中字符'='之前的所有单词?
可以用正则表达式来完成。
查找内容:^[\w\s]+\=(.*)$ 替换为:newword\=\1。有关更多信息,请参阅下面的屏幕截图:
^[\w\s]+\=(.*)$
newword\=\1
您应该在正则表达式中输入您想要的替换词而不是“newword”。