python-mini-project icon indicating copy to clipboard operation
python-mini-project copied to clipboard

Robust Email Address Validator in Python

Open dhruv-git-sys opened this issue 4 months ago • 4 comments

Email Validation Program

This program validates an email address by ensuring it follows basic formatting rules.
Unlike the initial approach—which only checks for the presence of @ and .—this improved version performs more reliable and structured validation by:

  • Checking the correct position of @ and .

    • . must come after @.
  • Ensuring there is text before @ and after the final ..

  • Handling multiple dots and ignoring accidental spaces.

  • Providing clear error messages for different invalid cases instead of just "Invalid".

  • Making the validation case-insensitive and resilient against leading/trailing spaces.

dhruv-git-sys avatar Aug 13 '25 07:08 dhruv-git-sys

@ndleah I would like to work on this issue. Could you please assign it to me? I’d be happy to contribute.

dhruv-git-sys avatar Aug 13 '25 07:08 dhruv-git-sys

Email Validation Program

This program validates an email address by ensuring it follows basic formatting rules. Unlike the initial approach—which only checks for the presence of @ and .—this improved version performs more reliable and structured validation by:

  • Checking the correct position of @ and .

    • . must come after @.
  • Ensuring there is text before @ and after the final ..

  • Handling multiple dots and ignoring accidental spaces.

  • Providing clear error messages for different invalid cases instead of just "Invalid".

  • Making the validation case-insensitive and resilient against leading/trailing spaces.

can I do this

KushagraKatiyar06 avatar Oct 02 '25 17:10 KushagraKatiyar06

i'd be happy to work on this @ndleah

mihirjaipuria avatar Oct 06 '25 18:10 mihirjaipuria

I would like to work on this issue. Can you please assign it to me?

shreya150804 avatar Nov 15 '25 11:11 shreya150804