Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Internet
#email
#internet
#contact
#validation

Email Address

RFC 5321 compliant email address validation. Supports subdomains, plus-addressing, and international TLDs.

Contact form validationUser registrationNewsletter signups
/
/
Safe
Test String
3 matches
[…]+Character class […]Matches any single character listed in this set — repeated one or more times (greedy) · + — one or more times (greedy)
a-za-za-z — range from 'a' to 'z'
A-ZA-ZA-Z — range from 'A' to 'Z'
0-90-90-9 — range from '0' to '9'
..'.' — literal character
__'_' — literal character
%%'%' — literal character
++'+' — literal character
\-\-\- — escaped character
@@'@' — literal character
[…]+Character class […]Matches any single character listed in this set — repeated one or more times (greedy) · + — one or more times (greedy)
a-za-za-z — range from 'a' to 'z'
A-ZA-ZA-Z — range from 'A' to 'Z'
0-90-90-9 — range from '0' to '9'
..'.' — literal character
\-\-\- — escaped character
\.\.\. — escaped character '.'
[…]{2,}Character class […]Matches any single character listed in this set — repeated at least 2 times · {2,} — at least 2 times
a-za-za-z — range from 'a' to 'z'
A-ZA-ZA-Z — range from 'A' to 'Z'
Pattern: 48 charsInput: 63 chars
100% client-side · private

Valid Examples

  • user@example.com
  • john.doe+tag@sub.domain.co.uk
  • contact@regex.to

Invalid Examples

  • plainaddress
  • @missinglocal.com
  • user@.com
  • user@

Usage & Integration

Validate Email Address natively in your backend or frontend without copying regex strings.

Node / Edge

import { validate } from '@regexto/validators';

validate('email', '...');

Python

from regexto_validators import validate

validate("email", "...")

Go

import "github.com/regex-to/validators-go"

valid, err := validators.Validate("email", "...")

PHP

use RegexTo\Validators\Validator;

Validator::validate('email', '...');

Rust

use regexto_validators::validate;

let is_valid = validate("email", "...").unwrap();