summaryrefslogtreecommitdiff
path: root/progs/a173.py
blob: c2e9205ab683ff7d3f31d5dc0ca00c94b0b43481 (plain)
1
2
3
4
5
6
7
import re 
regex = '^[a-z0-9]+[\._]?[a-z0-9]+[@]\w+[.]\w{2,3}$'
def check_email(email): 
	if(re.search(regex,email)): 
		return ("Valid Email") 
	else: 
		return ("Invalid Email")