Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #aici e cu regular expresions
- data = 'From: dadffgdf gdfg 234 teg alexandru.vladoiu@gmail.com at:5 456 657'
- import re
- y = re.findall('(\S+)@',data)
- print ('userul este:', y)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement