import re
txt="Muhammad Ashfaq is the Programmer of of this code his email
is yahooashfaq@gmail.com and he write this code for
eaglesoft.pk@gmail.com with the help of Ansir ali
ansar.eaglesoft@gmail.com and Saif Ali Khan saif.eaglesoft@gmail.com"
# print(txt)
findEmail=re.findall(r'[\w\.-]+@[\w\.-]+',txt)
#print Email in list
print(findEmail)
#print email
for l in findEmail:
print(l)
No comments:
Post a Comment