SyntaxFix
Write A Post
Hire A Developer
Questions
Finding Email-id:
import re a=open("aa.txt","r") #c=a.readlines() b=a.read() c=b.split("\n") print(c) for d in c: obj=re.search(r'[\w.]+\@[\w.]+',d) if obj: print(obj.group()) #for more calcification click on image above..