Matches an email address.
The username can not start with a period (.) but may contain segments separated by a period (aa.bb@example.com).
The domain part follows the same rules, but requires at least one subdomain (user@example does not match, user@example.foo does).
Text | Result |
---|---|
account@example.com
| match |
@example.com | no match |
account@ | no match |
account@example | no match |
example.com | no match |