find email in regual expresions python code example
Example: find email address pytho
import re
line = "should we use regex more often? let me know at [email protected]"
match = re.search(r'[\w\.-]+@[\w\.-]+', line)
match.group(0)
'[email protected]'