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

Improved Email Address Validator using Structured Validation Rules

Open shreya150804 opened this issue 1 month ago • 1 comments

This PR adds an improved email address validator that performs structurally reliable validation.
Enhancements include:

  • Ensures correct position of '@' and '.'
  • Confirms text exists before '@' and after final '.'
  • Validates '.' appears after '@'
  • Removes leading/trailing spaces
  • Handles multiple dots safely
  • Provides detailed error messages instead of generic "Invalid"
  • Case-insensitive validation

shreya150804 avatar Nov 15 '25 12:11 shreya150804