Perhaps it's that I'm not using regular HTML, but using React JS to render the HTML form.This regex places a number of inappropriate requirements on email addresses -- for instance, it rejects email addresses that have a one- or two-letter username, or which are hosted at a one-letter domain name.I know that I probably going to have to refer to this list again and again in the future. Here is the list of valid and invalid email format which can be used for testing.The list is not comprehensive by any means, and is probably missing a bunch of edge cases.Where you're correct is letting the slashes [email protected] your answer worked for me.
Sure there have been all kinds of whacky plug-ins over the years aimed at achieving this, but never a single standard that we could work towards.
It works great except it doesn't validate for a REAL email address. The script can't contain any dollar symbols otherwise Tomcat (my server environment) crashes.
HTML5 defines a variety of new input types: sliders, number spinners, popup calendars, color choosers, autocompleting suggest boxes, and more.
So after numerous times of hunting down my old email test cases from previous team, I am giving up.
I thought I am just going to list out all of them here out on the internet.