So Ive been trying to figure out a way to use regex(regular expression) to remove duplicate emails from a text file I have but I cant get anything working at all.
This is how the emails are in the text file (an example)
examp@asdas.com
kork@kruu.com
gexx@moxx.com
hey@hayhay.cu
examp@asdas.com
geexx@modxx.com
I havent found a way to delete all duplicates, I only found a way in regular expressions to delete duplicates that are right AFTER each other.
Does anyone have any suggestions?