I'm trying to validate an email input via HTML5 pattern.
The input field must follow this format:
givenname.lastname@simonsays.domain
In other words I need to check if there is a string of letters + a dot + another string of letters + must contain the string simon
.
So far I've found
pattern=".*simon.+"
However, it only checks if the input contains simon
.
Help would be highly appreciated!