prabhavms

password

Dec 8th, 2021 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. # Mail Valid or Not
  2. import re
  3. email = input()
  4. check_mail = re.findall(r'[a-z A-Z 0-9 _ \- \.]+[@][a-z]+[\.][a-z]{2,3}', email)
  5. if email in check_mail:
  6.     print("Valid")
  7. else:
  8.     print("Invalid")
Add Comment
Please, Sign In to add comment