Skip to main content
Regexflux

Identifiers Regex Patterns

Patterns for matching UUIDs, credit card numbers, SSNs, and other structured identifiers.

8 patterns

Matches Amex card numbers (starts with 34 or 37, 15 digits).

JSPYTHONJAVAPHPGO

Matches major credit card numbers (Visa, Mastercard, Amex, Discover).

JSPYTHONJAVAPHPGO
Mastercard Numberintermediate

Matches Mastercard credit card numbers (starts with 51-55 or 2221-2720).

JSPYTHONJAVAPHPGO

Matches Visa credit card numbers (starts with 4, 13 or 16 digits).

JSPYTHONJAVAPHPGO

Matches 24-character hexadecimal MongoDB ObjectId strings.

JSPYTHONJAVAPHPGO

Matches US SSN in XXX-XX-XXXX format with basic area number validation.

JSPYTHONJAVAPHP

Matches UUID strings of any version in standard hyphenated format.

JSPYTHONJAVAPHPGO
UUID v4intermediate

Matches UUID version 4 strings in standard hyphenated format.

JSPYTHONJAVAPHPGO