Languages
[Edit]
EN

Remove duplicated rows in notepad++

3 points
Created by:
Marcin
2447

1. Steps with how to remove duplicated rows in notepad++

  • Open notepad++
  • Go to 'Replace window' (ctrl + H)
  • In Search Mode select 'Regular expression' radio button
  • Enter in input Find what below regex:
    ^(.*)(\r?\n\1)+$
  • Enter in input Replace with below line:
    $1
  • Click on Replace All button

  • Result before:
    abc
    abc
    unique line
    123
    123
  • Result after:
    abc
    unique line
    123

2. Screenshot with steps

Screenshot with steps of how to remove duplicated rows in notepad++ - https://dirask.com/q/BDnkXp
Screenshot with steps

3. Screenshot with results of this post

Screenshot with results of how to remove duplicated rows in notepad++ - https://dirask.com/q/BDnkXp
Screenshot with results of this post
Hey 👋
Would you like to know what we do?
  • Dirask is a friendly IT community for learners, professionals and hobbyists to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone,
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.