Remove items from one list that exist in another list
Posted on 2014-03-27
I have two lists of email addresses.
List A contains a comprehensive list of all the email addresses
List B contains a smaller subset of ListA's email addresses
I need to remove all of the items from List A that appear in List B.
So basically, I need to obtain List C which is all of the items in List A that do NOT appear in List B.
What's a simple way to do this? I only need to do it once, and the lists are small (2000 items each), so I'm open to pretty much anything.
I can do it in pretty much whatever tools you think would be easiest to use - Notepad, Excel, Notepad++, Bash script, Linux commands, PHP script, regular expressions, VB... whatever you like.