Not everybody needs this! I often have text copied from PDF when I’m working on something. This leads to loads of unnecessary paragraph marks. At other times I have rows of plain text copied from somewhere. It’s a pain to get rid of paragraph marks at the end of each line, yet preserving the correct paragraph breaks. The solution is below.
If it was line breaks (instead of paragraph breaks, this is the code to use in Notepad++ (below) – same methodology.
([^ \t\r\n¬])¬([^ \t\r\n¬])