Files
ChatBot/useful/check.py
florianuhlig 4f663eb8a5 First look
2025-10-02 23:36:57 +02:00

10 lines
275 B
Python

import re
def check_email(email):
# Click on Edit and place your email ID to validate
#email = "my.ownsite@our-earth.de"
valid = re.match(r'^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$', email)
if valid:
return True
else:
return False