Sort, and delete duplicate lines in Notepad ++

Select Edit> Line Operations> Sort Lines as Integer Ascending
Then press Ctrl-F and enter in the find field: ^(.*?)$\s+?^(?=.*^\1$)
Check “Regular expression” and select replace.

Leave a Reply

Your email address will not be published.