When doing a Search&Replace with regular expressions, the following search removes a complete blank line (=only an enter)
^$
I’ve to Search&Replace often text like ‘label foobar: #N/A’. Therefore, i use
^.{0,99}#N/A$
This expression removes the unwanted text, but doesnt remove the line.
And my question is, why not?
In the first case, the preview highligts the whole line. With the second code, only 'till the enter-mark