Notepad++ regex -> newLine

前端 未结 5 1766
孤街浪徒
孤街浪徒 2021-01-06 03:02

I use Notepad++ and I need to delete all lines starting with, say \"abc\".

Attention, I don\'t need to replace the line starting with \"abc\" with a empty line, but

5条回答
  •  无人及你
    2021-01-06 03:28

    Try the regex \nabc.* in "Find and Replace" --> "Replace"
    Leave "Replace With" field empty.

    EDIT : This won't work with first like (because '\n' means "new line")

提交回复
热议问题