How to multi-line “Replace in files…” in Notepad++

后端 未结 4 1409
一生所求
一生所求 2021-01-31 01:33

If the free source code editor Notepad++ has the feature \"Find in files...\", that is without the files being opened in the editor, does it also have the feature \"Replace in f

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-31 02:03

    The workaround is

    1. search and replace \r\n to thisismynewlineword

    (this will remove all the new lines and there should be whole one line)

    1. now perform your replacements

    2. search and replace thisismynewlineword to \r\n

    (to undo the step 1)

提交回复
热议问题