Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import re
- spisak = open("split.txt")
- for line in spisak:
- pattern = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,7}\b'
- found = re.findall(pattern, line)
- for email in found:
- print(email)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement