Notepad++ Remove Duplicate Lines

To remove duplicate lines, use a regular expression and replace with empty lines.

^(.*?)$\s+?^(?=.*^\1$)