Find Duplicate Text in TextEdit

Discussion in 'Mac Basics and Help' started by bingefeller, Feb 16, 2011.

  1. bingefeller macrumors 6502

    Joined:
    Jun 25, 2007
    Location:
    Northern Ireland
    #1
    Hi guys,

    I have a file with a few thousand individual codes in text format and I'm wondering if there's any way I can find duplicate codes without having to copy each one and use the find command?
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    It depends on the format of the data. Are all the codes on separate lines, and do the codes appear in the same position in each line? If so, you could copy the file to Excel (I assume Numbers could do the same), filter out the duplicates, then copy the unique lines and paste them back into TextEdit.
     
  3. bingefeller thread starter macrumors 6502

    Joined:
    Jun 25, 2007
    Location:
    Northern Ireland
    #3
    It's just plain text.

    All the codes appear on the same place on separate lines. I think the Excel method would work best. :) Thanks.
     

Share This Page