EN
Remove duplicated rows in notepad++
3 points
- Open notepad++
- Go to 'Replace window' (ctrl + H)
- In Search Mode select 'Regular expression' radio button
- Enter in input
Find what
below regex:xxxxxxxxxx
1^(.*)(\r?\n\1)+$
- Enter in input
Replace with
below line:xxxxxxxxxx
1$1
-
Click on
Replace All
button - Result before:
xxxxxxxxxx
1abc
2abc
3unique line
4123
5123
- Result after:
xxxxxxxxxx
1abc
2unique line
3123

