Skip to content

nitinsogex/EmailValidator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“§ Email Validator

A simple Python-based Email Validator that checks the validity of an email address with detailed feedback explaining why it’s invalid.


πŸš€ Features

βœ… Checks for:

  • Missing or multiple @ symbols
  • Empty or malformed username / domain
  • Consecutive or trailing special characters (e.g., .., --, ++, .-, etc.)
  • Invalid domain or top-level domain (TLD) format
  • Disallowed characters in username or domain
  • Leading or trailing special symbols (., +, _, -)

βœ… Returns clear human-readable messages
βœ… Works without any external dependencies (only Python’s built-in re module)
βœ… Fully interactive β€” enter emails repeatedly until you quit


🧠 Example Output

Enter an email: nitin--.--@gmail.com
Multiple special characters consecutively not allowed in local part.

Enter an email: sdf+++@g.com
Multiple special characters consecutively not allowed in local part.

Enter an email: nitin@gmail.com
βœ… Email looks valid.

Enter an email (or 'q' to quit): q
Goodbye!

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

Nitin Soge

  • πŸ“§ Reach me for suggestions, ideas, or improvements!

πŸ“ License

  • This project is released under the MIT License β€” you’re free to use, modify, and distribute it with attribution.

⭐ If you found this helpful, please star the repository on GitHub!

About

A Python program to validate email addresses with regex and detailed error messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages