Finding line beginning using regular expression

后端 未结 5 719
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-31 04:45

Finding Line Beginning using Regular expression in Notepad++

I want to strip a 4000-line HTML file from all the jQuery "done" attributes in a div.

5条回答
  •  礼貌的吻别
    2020-12-31 05:17

    I'm afraid, Notepad++ Regex cannot do that

    Notepad++ using Scintilla regex engine, its per line based, so multiline search / replace cannot be done.

    Note that \r and \n are never matched because in Scintilla, regular expression searches are made line per line (stripped of end-of-line chars).

    Quoted from http://www.scintilla.org/SciTERegEx.html

提交回复
热议问题