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.

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPRUBYCSHARP

More comprehensive email validation following RFC 5322 standards.

JSPYTHONJAVAPHPGORUBY

Basic email validation matching user@domain.tld format.

JSPYTHONJAVAPHPRUBYCSHARP

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

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPGORUBYCSHARP

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

JSPYTHONJAVAPHPRUBYCSHARP

Validates passwords that contain no whitespace characters.

JSPYTHONJAVAPHPGORUBYCSHARP
Strong Passwordintermediate

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

JSPYTHONJAVAPHPRUBYCSHARP

Matches Australian phone numbers in common formats.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Brazilian phone numbers with DDD area codes.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches German phone numbers with optional country code.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Indian mobile numbers with optional country code.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches international phone numbers in E.164 format.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Japanese phone numbers in common formats.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches UK phone numbers with optional country code.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches US phone numbers in various common formats.

JSPYTHONJAVAPHPGORUBYCSHARP
GitHub Usernameintermediate

Matches valid GitHub usernames.

JSPYTHONJAVAPHPRUBYCSHARP
Hashtagbeginner

Matches social media hashtags.

JSPYTHONJAVAPHPGORUBYCSHARP

Matches Twitter/X usernames starting with @.

JSPYTHONJAVAPHPGORUBYCSHARP
HTTP/HTTPS URLintermediate

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

JSPYTHONJAVAPHPGORUBYCSHARP
UK Postcodeintermediate

Matches UK postcodes in standard format.

JSPYTHONJAVAPHPGORUBYCSHARP
US ZIP Codebeginner

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

JSPYTHONJAVAPHPRUBYCSHARP