REGEXVAULT

Localization

Handle global data formats with ease. Verified patterns for phone numbers, postal codes, and regional identifiers from around the world.

76 patterns
Date Formats|

ISO 8601 Date (YYYY-MM-DD)

Matches a calendar date in ISO 8601 basic date format with full validation of month and day ranges.

moderate4 engines
Date Formats|

US Date Format (MM/DD/YYYY)

Matches a US-style date in M/D/YYYY or MM/DD/YYYY format.

moderate4 engines
Date Formats|

UK / European Date Format (DD/MM/YYYY)

Matches a UK/European-style date in D/M/YYYY or DD/MM/YYYY format.

moderate4 engines
Date Formats|

German / Central European Date (DD.MM.YYYY)

Matches a German-style date using dot separators: DD.MM.YYYY or D.M.YYYY.

moderate4 engines
Date Formats|

Japanese Date Format (YYYY年MM月DD日)

Matches a Japanese full date format using kanji era markers.

moderate3 engines
Date Formats|

Japanese Imperial Era Year (Reiwa/Heisei/Showa)

Matches a Japanese imperial era date with era name in Japanese or abbreviated form.

complex3 engines
Date Formats|

Chinese Date Format (YYYY年MM月DD日)

Matches a Chinese full date format — structurally identical to Japanese but different context.

moderate3 engines
Date Formats|

Korean Date Format (YYYY년 MM월 DD일)

Matches a Korean full date format with Korean character markers.

moderate3 engines
Date Formats|

Indian Date Format (DD-MM-YYYY with hyphen)

Matches an Indian-style date with hyphen separators, commonly used in government and financial documents.

moderate4 engines
Date Formats|

Russian Date Format (DD.MM.YYYY)

Matches a Russian-style date with dot separators — structurally identical to German format but in Russian context.

moderate4 engines
Date Formats|

Brazilian Date Format (DD/MM/YYYY)

Matches a Brazilian Portuguese date format with slash separators.

moderate4 engines
Date Formats|

Arabic Date Format (DD/MM/YYYY)

Matches a date in the modern Arabic format used in many Middle Eastern countries (Gregorian calendar, Arabic numerals).

complex4 engines
Date Formats|

ISO 8601 Week Date (YYYY-Www-D)

Matches an ISO 8601 week date: year, week number, and day of week.

moderate4 engines
Date Formats|

ISO 8601 Ordinal Date (YYYY-DDD)

Matches an ISO 8601 ordinal date: year and day-of-year (001-366).

moderate4 engines
Date Formats|

US Short Date (M/D/YY)

Matches a US-style short date with 2-digit year.

moderate4 engines
Date Formats|

Long Form Date (Month Name, English)

Matches an English long-form date: Day Month Year or Month Day, Year.

complex3 engines
Date Formats|

Abbreviated Month Name (English)

Matches a date with abbreviated English month name: DD-Mon-YYYY or Mon DD, YYYY.

complex4 engines
Date Formats|

Date Range (ISO 8601)

Matches an ISO 8601 date range with slash separator: YYYY-MM-DD/YYYY-MM-DD.

complex4 engines
Date Formats|

ISO 8601 Duration

Matches an ISO 8601 duration string: P[n]Y[n]M[n]W[n]DT[n]H[n]M[n]S.

complex4 engines
Date Formats|

Fiscal Quarter (QN YYYY or YYYY QN)

Matches a fiscal quarter label: Q1-Q4 with a 4-digit year.

complex4 engines
Time Formats|

24-Hour Time (HH:MM)

Matches a 24-hour time with hour and minute.

moderate4 engines
Time Formats|

24-Hour Time with Seconds (HH:MM:SS)

Matches a 24-hour time with hours, minutes, and seconds.

moderate4 engines
Time Formats|

Time with Fractional Seconds and Timezone

Matches a full time string with optional fractional seconds and timezone offset.

complex4 engines
Time Formats|

12-Hour Time (H:MM AM/PM)

Matches a 12-hour time with AM/PM designator.

moderate4 engines
Time Formats|

Timezone Abbreviation

Matches common timezone abbreviations (not exhaustive — abbreviations are ambiguous).

complex4 engines
Time Formats|

IANA Timezone Identifier

Matches an IANA timezone database identifier (Continent/City format).

complex4 engines
Time Formats|

UTC Offset

Matches a UTC offset in ±HH:MM format, covering all real-world timezone offsets.

complex4 engines
Time Formats|

Unix Timestamp (Epoch Seconds)

Matches a Unix timestamp in epoch seconds: non-negative integer (seconds since 1970-01-01T00:00:00Z).

simple4 engines
Postal Codes|

US ZIP Code

Matches a US ZIP code: 5 digits or ZIP+4 format (5-4).

moderate4 engines
Postal Codes|

UK Postcode (Full Format)

Matches a UK postcode in standard outward + inward format with validation of known patterns.

complex4 engines
Postal Codes|

Canadian Postal Code

Matches a Canadian postal code: letter-digit-letter digit-letter-digit, case-insensitive.

complex4 engines
Postal Codes|

Australian Postcode

Matches an Australian postcode: exactly 4 digits.

simple4 engines
Postal Codes|

German PLZ (Postleitzahl)

Matches a German postal code (PLZ): exactly 5 digits.

simple4 engines
Postal Codes|

Austrian Postcode (PLZ)

Matches an Austrian postal code: exactly 4 digits, range 1000-9999.

simple4 engines
Postal Codes|

French Code Postal

Matches a French postal code: exactly 5 digits.

moderate4 engines
Postal Codes|

Dutch Postcode (Postcode)

Matches a Dutch postcode: 4 digits + space + 2 uppercase letters.

complex4 engines
Postal Codes|

Italian CAP (Codice di Avviamento Postale)

Matches an Italian postal code (CAP): exactly 5 digits.

complex4 engines
Postal Codes|

Spanish Código Postal

Matches a Spanish postal code: exactly 5 digits, first two digits are province code 01-52.

moderate4 engines
Postal Codes|

Swedish Postnummer

Matches a Swedish postal code: 5 digits, optionally formatted as XXX XX.

moderate4 engines
Postal Codes|

Swiss Postleitzahl (PLZ)

Matches a Swiss postal code: exactly 4 digits, range 1000-9999.

simple4 engines
Postal Codes|

Indian PIN Code

Matches an Indian Postal Index Number (PIN): exactly 6 digits, first digit 1-9.

simple4 engines
Postal Codes|

Japanese Postal Code (〒XXX-XXXX)

Matches a Japanese postal code: 7 digits optionally formatted as XXX-XXXX, optionally prefixed with 〒.

simple3 engines
Postal Codes|

Korean Postal Code (5-digit, post-2015)

Matches a South Korean postal code in the current 5-digit format introduced in 2015.

simple4 engines
Postal Codes|

Singapore Postal Code

Matches a Singapore postal code: exactly 6 digits, first two digits are the postal sector (01-82).

moderate4 engines
Postal Codes|

Chinese Postal Code

Matches a Chinese postal code: exactly 6 digits.

simple4 engines
Postal Codes|

Brazilian CEP (Código de Endereçamento Postal)

Matches a Brazilian CEP: 8 digits optionally formatted as XXXXX-XXX.

simple4 engines
Postal Codes|

South African Postal Code

Matches a South African postal code: exactly 4 digits.

simple4 engines
Postal Codes|

New Zealand Postcode

Matches a New Zealand postcode: exactly 4 digits.

simple4 engines
Postal Codes|

Mexican Código Postal

Matches a Mexican postal code: exactly 5 digits, starting with 0-9.

simple4 engines
Postal Codes|

Malaysian Postcode

Matches a Malaysian postcode: exactly 5 digits.

simple4 engines
Phone Numbers|

E.164 International Phone Number

Matches a phone number in E.164 international format: + followed by 7-15 digits.

simple4 engines
Phone Numbers|

US/Canada Phone Number (NANP)

Matches a North American Numbering Plan phone number in common formats.

complex3 engines
Phone Numbers|

UK Phone Number

Matches a UK phone number in common formats (with or without country code).

complex3 engines
Phone Numbers|

Australian Phone Number

Matches an Australian phone number in local or international format.

complex3 engines
Phone Numbers|

Singapore Phone Number

Matches a Singapore phone number: 8 digits starting with 3, 6, 8, or 9.

moderate4 engines
Phone Numbers|

Indian Phone Number

Matches an Indian mobile or landline number with optional country code.

complex3 engines
Phone Numbers|

German Phone Number

Matches a German phone number in domestic or international format.

moderate3 engines
Phone Numbers|

Japanese Phone Number

Matches a Japanese phone number in domestic or international format.

complex3 engines
Phone Numbers|

Chinese Phone Number

Matches a Chinese mainland mobile or landline number.

moderate3 engines
Phone Numbers|

French Phone Number

Matches a French metropolitan phone number in domestic or international format.

complex3 engines
Phone Numbers|

Brazilian Phone Number

Matches a Brazilian phone number with DDD area code in domestic or international format.

complex3 engines
Phone Numbers|

International Phone with Formatting (Liberal)

Matches a liberally formatted international phone number allowing common separators.

moderate4 engines
Locale & Language|

BCP 47 / IETF Language Tag

Matches a BCP 47 language tag: language subtag with optional script, region, and variant.

moderate4 engines
Locale & Language|

ISO 639-1 Language Code

Matches a 2-letter ISO 639-1 language code.

simple4 engines
Locale & Language|

ISO 3166-1 Alpha-2 Country Code

Matches a 2-letter ISO 3166-1 alpha-2 country code.

simple4 engines
Locale & Language|

ICU Locale Identifier

Matches an ICU/Java locale identifier with language, country, and optional variant in underscore format.

moderate4 engines
Postal Codes|

Indonesian Postal Code

Matches an Indonesian postal code: exactly 5 digits, first two digits are province code.

simple4 engines
Postal Codes|

Thai Postal Code

Matches a Thai postal code: exactly 5 digits.

simple4 engines
Postal Codes|

Portuguese Código Postal (CP4-3)

Matches a Portuguese postal code: 4 digits, hyphen, 3 digits.

simple4 engines
Phone Numbers|

South African Phone Number

Matches a South African phone number in domestic or international format.

moderate3 engines
Phone Numbers|

UAE / Gulf Phone Number

Matches a UAE phone number in domestic or international format.

moderate3 engines
Locale & Language|

ISO 3166-1 Alpha-3 Country Code

Matches a 3-letter ISO 3166-1 alpha-3 country code.

simple4 engines
Locale & Language|

Unicode Script Code (ISO 15924)

Matches an ISO 15924 Unicode script code: 4 letters, title case.

simple4 engines
Locale & Language|

RTL Language Indicator

Matches text that begins with right-to-left script characters (Arabic, Hebrew, Persian, Urdu).

simple3 engines
Date Formats|

Hebrew Calendar Date

Matches a Hebrew calendar date in DD/MM/YYYY or DD Month YYYY format with numeric values.

moderate4 engines
Date Formats|

ISO 8601 Date-Time (Combined, Full)

Matches a full ISO 8601 combined date-time string with date, time, and optional timezone.

complex4 engines