piighost/email

Email address, simplified RFC 5322. The lookbehind pins the start of the local part and the domain is segmented label by label, which keeps the scan linear. Latin letters with diacritics (U+00C0 to U+024F) belong to the local part and the domain labels, so an accented address is matched whole instead of from its first ASCII run.

Label: EMAIL

Pattern

(?<![A-Za-z0-9À-ɏ._%+-])[A-Za-z0-9À-ɏ._%+-]+@(?:[A-Za-z0-9À-ɏ-]+\.)+[A-Za-z]{2,}

Must be caught

Must be left alone

Tags: international, contact

Download the detector as TOML

Used by

Related patterns