remove blank lines in notepad++ code example
Example 1: regular expression to remove empty lines after text
Find: ^(?:[\t ]*(?:\r?\n|\r))+
Replace: ""
Example 2: notepad++ remove empty lines
; set Search Mode to reg ex
Find:^\h*\R
Replace: ""
Example 3: remove new lines notepad++
// find and replace with the following in find and keep replace blank
// seearch mode should have 'Extended' selected
// either:
// - \r\n
// - \r
// - \n