How to add a blank line after each line in Notepad++

Once I wrote configurations for Huawei OLT, for example, transferring ONU from one port to another, in order to then insert ready-made commands into the device console, so the empty line after the command served as the Enter button, so I used Notepad++ to add empty lines after each command.

You need to open the search window by pressing Ctrl+F and select the “Replace” tab, in which you specify what you need to find:

\r

And replace with:

\n

After this, a blank line will be added after each line.

See also my article:
Add characters to the beginning of each line in Notepad++

Leave a comment

Leave a Reply