Skip to main content

EMAIL_REGEX

const EMAIL_REGEX: RegExp

RFC 5322 compliant email regex (simplified, without quoted strings support). Local part: no consecutive dots, no dot at start/end, allows special chars. Domain: only letters, digits, hyphens (not at start/end of labels), dots.

Since

2.0.0