find duplicate and copy to other text



  • 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?



  • 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.



  • 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



  • 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.


Log in to reply