notepad++ remove duplicate

 

 

 

 

 

step1 to sort and remove space.

 

Since Notepad++ Version 6 you can use this regex in the search and replace dialogue:

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

and replace with nothing. This leaves from all duplicate rows the last occurrence in the file.

posted @ 2019-05-31 17:05  kakaisgood  阅读(210)  评论(0编辑  收藏  举报