Skip to content

Improved Email Address Validator using Structured Validation Rules#403

Open
shreya150804 wants to merge 1 commit intondleah:mainfrom
shreya150804:address-validator-shreya
Open

Improved Email Address Validator using Structured Validation Rules#403
shreya150804 wants to merge 1 commit intondleah:mainfrom
shreya150804:address-validator-shreya

Conversation

@shreya150804
Copy link

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
Copy link
Author

Hello @ndleah, could you please review this pull request when you have time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant