In Notepad++, how do I turn this:
Because we need "one more character", the first grab can't get everything, so is left with the whole line except one character. Then we replace with
You could also simply replace
Should be possible to do this with a macro as well.
"End" key->"Back(space)" key->"Down Arrow" key->"Home" key
Macro->Run Macro Multiple Times.