• Login
Community
  • Login

find duplicate and copy to other text

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 2 Posters 1.4k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G
    Gulab Borkar
    last edited by Mar 16, 2020, 10:08 AM

    hi guys i have list and i will find duplicate in list and copy or cut to other list always software remove duplicate file i will have dupplicate file for copy other list how do it?

    1 Reply Last reply Reply Quote 0
    • E
      Ekopalypse
      last edited by Mar 16, 2020, 1:14 PM

      Sorry, I don’t understand what you try to achieve.
      Maybe give a simple example of what you have and what you want to get.

      1 Reply Last reply Reply Quote 0
      • G
        Gulab Borkar
        last edited by Mar 16, 2020, 1:20 PM

        bro this is example my list

        paris
        london
        paris
        madrid
        barcelon
        london
        baku
        denver
        in my list 2 duplicate is
        paris
        london

        i will keep duplicate and remove other or just copy duplicate to other new text

        1 Reply Last reply Reply Quote 0
        • E
          Ekopalypse
          last edited by Mar 16, 2020, 1:32 PM

          Ok, if ordering is not relevant then you could do the following

          edit->line operations->sort line lexicographically ascending
          make sure that last line has an eol
          open find dialog and goto mark tab
          check bookmark line box
          put the following into find box:(.+\R)\1
          press mark all
          use one of the commands from search->bookmarks menu.

          1 Reply Last reply Reply Quote 3
          2 out of 4
          • First post
            2/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors