Untitled

 avatar
unknown
plain_text
2 years ago
180 B
5
Indexable
import re
email=input("Enter the email-id to check : ")

e=re.search("\w*@gmail[.]com",email)

if e!=None:
    print("Email is valid")
else:
    print("Email is not valid")
Editor is loading...
Leave a Comment