Take for example the following:
This text file has many double linebreaks, What is the expression too find these?
If you use "regular expression" search mode:
Will find all instances of 2 or more blank lines, including ones that just have spaces on the line.
E.G. using a replace of
To find double or more linebreaks (and ignore single linebreaks), search in Extended Mode for the following expression:
It will match this case:
but not this one:
If you want to search and replace, you need to modify the expression a little bit.