正則表達式:刪除包含“幫助”等的行 - Regex: Remove lines containing “help”, etc

語言: CN / TW / HK

問題:

I have a long document of commands. 我有一個很長的命令文件。 Using Notepad++ or regex, I want to delete all lines containing "help" including keyboard_help, etc. 使用Notepad ++或regex,我想刪除所有包含“help”的行,包括keyboard_help等。

How can this be done? 如何才能做到這一點?


解決方案:

參考一: http://stackoom.com/question/Oegy
參考二: Regex: Remove lines containing “help”, etc
「其他文章」