How do I delete specific lines in Notepad++?

前端 未结 8 1450
太阳男子
太阳男子 2020-11-28 19:52

I\'m cleaning up some code files (C#) and want to remove the regions. And I would like to delete all the lines that have the string \'#region\'. That\'s just an example, and

8条回答
  •  情歌与酒
    2020-11-28 20:45

    Investigate what is your EOL, \n or \r\n. Then replace .*#region.*\r\n with nothing in regexpr mode.

提交回复
热议问题