This example demonstrates isEmail()
Input an email address:
What to try in the email field:
name
name@
name@host
@host
@host.
@host.dom
@.dom
name@host.dom.
All of the above are "bad"
name@host.dom
name@host.dom1.dom2
name must be A-Z, a-z, 0-9, . - _
doman must be A-Z, a-z, 0-9, . -