₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,211 members, 8,510,661 topics. Date: Friday, 30 October 2026 at 07:21 PM

Toggle theme

Who Has A Python Code For Email Validation - Programming - Nairaland

Nairaland Forum › Science/Technology › Programming › Who Has A Python Code For Email Validation (598 Views)

1 Reply

Who Has A Python Code For Email Validation by rickyamos(op): 3:24pm On Dec 17, 2021
Who has a Python code for email validation ?
Re: Who Has A Python Code For Email Validation by tempest01(m): 5:00pm On Dec 17, 2021
rickyamos:
Who has a Python code for email validation ?
What kind of validation? To check if input is a valid email address?


import re

# for validating an Email

regex = r'\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}v


# function for validating an Email

def check(email):
    if(re.fullmatch(regex, email)):
        print("Valid Email"wink
    else:
        print("Invalid Email"wink

1 Reply

How To Create Mysql Database/python Tkinter Gui To Change Password/Validation En • A Python Program To Check The Risk Of Corona Virus. • I Need A Python Code • 2 • 3 • 4

. • Need Help With Error In React App. • Review This Video Sharing Website