7 lines
152 B
Python
7 lines
152 B
Python
import re
|
|
|
|
regex = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,7}\b'
|
|
|
|
def check_email(email: str):
|
|
return (not re.fullmatch(regex, email))
|