Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ deleting lines containing duplicate words

I have a .txt document which consists of one word followed up with a date in one line, and so on in each line.

How can Notepad++ recognize same words in different lines and delete duplicate lines?

like image 601
xcyteh Avatar asked Sep 12 '13 15:09

xcyteh


1 Answers

Not a direct answer to your question, but I found this article based on the title. I was looking to just delete duplicate lines. I found an easy way to do that here

  1. Mark all the text (CTRL+A). Click TextFX → Click TextFX Tools → Check +Sort outputs only UNIQUE (at column) lines (if not already checked).
  2. Click TextFX → Click TextFX Tools → Click Sort lines case insensitive (at column)
like image 78
alexjhart Avatar answered Oct 06 '22 14:10

alexjhart