You can search for
^(.*)(\r?\n\1)+$
Don’t worry: all the duplicate lines will be selected, but not all deleted. Then give this as replace
\1
a thoughtful use of digital
You can search for
^(.*)(\r?\n\1)+$
Don’t worry: all the duplicate lines will be selected, but not all deleted. Then give this as replace
\1