Skip to content

Chirag04-bit/EMAIL-VALIDATOR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation


πŸ“§ Email Validator

A simple yet powerful Python program that validates email addresses using regular expressions (regex). This project checks whether an email follows the correct format β€” helping developers filter valid inputs before storage or processing.


πŸš€ Features

  • βœ… Validates email structure (username, domain, TLD)
  • ⚑ Lightweight and fast β€” uses Python’s built-in re module
  • 🧠 Easy to integrate into larger projects
  • πŸ–₯️ Command-line interface for quick validation

🧩 How It Works

The script uses regex pattern matching to ensure the email follows standard rules:

username@domain.extension

Example of a valid email:

example123@gmail.com

Invalid examples:

example@.com
@domain.com
exampledomain

🧰 Requirements

  • Python 3.x
  • No external libraries required (only re module)

πŸƒβ€β™‚οΈ How to Run

  1. Clone the repository

    git clone https://github.com/Chirag04-bit/EMAIL-VALIDATOR.git
  2. Navigate to the project folder

    cd EMAIL-VALIDATOR
  3. Run the script

    python Email_Validator.py
  4. Input your email when prompted:

    Enter your email: test@example.com
    
  5. The program will display whether it’s Valid or Invalid βœ…βŒ


🧠 Example Output

Enter your email: hello.world@gmail.com
Valid Email βœ…
Enter your email: hello@.com
Invalid Email ❌

πŸ§‘β€πŸ’» Author

Chirag Sharma πŸ”— GitHub Profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages