Skip to main content
Regexflux

Validation Regex Patterns

Patterns for validating emails, phone numbers, passwords, URLs, and other common input formats.

23 patterns

Captures just the domain portion from email addresses.

JSPYTHONJAVAPHPGO

Matches email addresses while excluding common free email providers like Gmail and Yahoo.

JSPYTHONJAVAPHP

More comprehensive email validation following RFC 5322 standards.

JSPYTHONJAVAPHPGO

Basic email validation matching user@domain.tld format.

JSPYTHONJAVAPHP

Matches email addresses with optional display name like 'John Doe <john@example.com>'.

JSPYTHONJAVAPHPGO

Validates password length between 8 and 128 characters with any characters allowed.

JSPYTHONJAVAPHPGO

Validates passwords with at least 6 characters, one letter and one digit.

JSPYTHONJAVAPHP

Validates passwords that contain no whitespace characters.

JSPYTHONJAVAPHPGO
Strong Passwordintermediate

Validates passwords with at least 8 characters, one uppercase, one lowercase, one digit, and one special character.

JSPYTHONJAVAPHP

Matches Australian phone numbers in common formats.

JSPYTHONJAVAPHPGO

Matches Brazilian phone numbers with DDD area codes.

JSPYTHONJAVAPHPGO

Matches German phone numbers with optional country code.

JSPYTHONJAVAPHPGO

Matches Indian mobile numbers with optional country code.

JSPYTHONJAVAPHPGO

Matches international phone numbers in E.164 format.

JSPYTHONJAVAPHPGO

Matches Japanese phone numbers in common formats.

JSPYTHONJAVAPHPGO

Matches UK phone numbers with optional country code.

JSPYTHONJAVAPHPGO

Matches US phone numbers in various common formats.

JSPYTHONJAVAPHPGO
GitHub Usernameintermediate

Matches valid GitHub usernames.

JSPYTHONJAVAPHP
Hashtagbeginner

Matches social media hashtags.

JSPYTHONJAVAPHPGO

Matches Twitter/X usernames starting with @.

JSPYTHONJAVAPHPGO
HTTP/HTTPS URLintermediate

Matches URLs starting with http:// or https://.

JSPYTHONJAVAPHPGO
UK Postcodeintermediate

Matches UK postcodes in standard format.

JSPYTHONJAVAPHPGO
US ZIP Codebeginner

Matches US ZIP codes in 5-digit or ZIP+4 format.

JSPYTHONJAVAPHP