Email validation fails for Country Code Top-Level Domains such as .co.uk
See original GitHub issueCurrently, validation is failing for me@example.co.uk but passing for me@example.com.
I tried a test against the current regex and it does not match the format. THe following regex should:
^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
Source: https://regexr.com/2rhq7
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
Email verification for gTLD domain names (clientHold) - TransIP
If your country code TLD (such as .CO.UK, .EU and .NL) is unavailable, email verification does not apply. This means the unavailability of...
Read more >Extracting top-level and second-level domain from a URL ...
Here's my idea,. Match anything that isn't a dot, three times, from the end of the line using the $ anchor. The last...
Read more >4.1. Validate Email Addresses - Regular Expressions ...
But it is not valid if your definition specifies that a valid email address is one that accepts mail. There is no top-level...
Read more >email addresses - Regular Expression Library
Email validator that adheres directly to the specification for email address naming. It allows for everything from ipaddress and country-code ...
Read more >A beginner's guide to domains and how they work - 123 Reg
Here is a walk through the world of domain names where we explain everything you want to know - from how they work...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay. I’m looking into this now…
No worries. Glad you like it 😃