I was wondering how to delete empty lines or just any line in PSPad using regexp.
It can not be done with regexp, however there is a way - so:
I wanted to share the knowledge => see my answer below...
PSPad (unlike e.g. Notepad++) does not allow you to remove lines using regexp at all, if you are thinking about using ^YOU_REG_EXP$
replacing with "nothing", it will not work, however you can pre-clean the lines like that.
In top menu go to Edit -> Lines manipulation and choose one of these options:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With