In Notepad++, how do I turn this:
^ start from the beginning of the line (.*) get as many any characters, put in \1 . one more character $ end of the line
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
.$ with nothing
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.