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++ 有正则表达式搜索。我想要做的是删除文件中包含某个字符串的每一行。我试过以下表达式:^.+?MyString.+$但它离开了这条线,我也想删除这条线。
^.+?MyString.+$
谁可以帮我这个事?
这与这里的问题非常相似:delete-every-line-with-that-word
但是,您不需要为该文件使用书签。