How to make email textbox format [closed]

It is really complicated to validate an email address, still there are a bunch of regular expression you can find on the web that will check certain important things, like this one for example ^[_A-Za-z0-9-]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$. Unfortunately I don’t think there is an ultimate regex that will catch every “non-sense” you can find in an email address.

Browse More Popular Posts

Leave a Comment