Community
    • Login

    find duplicate and copy to other text

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.3k 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.
    • Gulab BorkarG
      Gulab Borkar
      last edited by

      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
      • EkopalypseE
        Ekopalypse
        last edited by

        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
        • Gulab BorkarG
          Gulab Borkar
          last edited by

          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
          • EkopalypseE
            Ekopalypse
            last edited by

            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
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors