I have mail ids available in a txt file with other details also. Now I want to extract the mail Ids only. Please help me to perform this. Below is the sample data of the txt file.
John@gmail.com, 34567 , John, Abhay@Yahoo.com, 45342,Abhay, Deepak@gmail.com, 56342, Deepak, Sahil@rediffmail.com,32123, Sahil, Solomon@gmail.com, 43214,Solomon, Javed@yahoo.co.in, 76543, Jave