-1

i have a proxy list like this :

5.5.5.5:62359
4.4.4.4:95684
6.6.6.6:65419
4.4.4.4:95684
7.7.7.7:65487

now i want to convert top list to this :

5.5.5.5:62359
4.4.4.4:95684
6.6.6.6:65419
7.7.7.7:65487

--> i want to remove dublicate proxies in list

are there any website or program or notepad++ regex that do this ?

2 Answers2

0

You may find the answer here. But it will not work without sorting alphabetically.

Search

^(.*)(\r?\n\1)+$

Replace

\1

The find and replace with regex function worked on Notepad++.

notepad++

But, it doesn't work on visual studio code.

Joseph
  • 70
  • 14
0

It's very easy to do it in sublime text. just open the file and eidt -> permute lines -> unique

Liu
  • 916
  • 8
  • 18