mardi 28 mai 2019

Email Regaular Expressions - Failing for domains less than 3 chars

I have a regular expression which is good with all my rules except that it fails to validate email addresses with less than 3 characters in its domain. Eg It considers sample@q.com and sample@me.com as invalid emails

Regex can be found here https://regex101.com/r/XcXIaL/1

Could anyone suggest a modification to this existing regular expression

It should accept sample@q.com, sample@me.com and sample@mes.com

Aucun commentaire:

Enregistrer un commentaire