Skip to main content
Numbers & Finance · In-Browser Regular Expression Lab

E.164 Phone Regex — International ITU-T Compliant Phone Format

Matches international standard phone numbers starting with a plus sign and 7 to 15 digits.

Flags:
//none
Match Found
Load Sample:
Match Inspection & Details1 match
Match #1:+14155552671

Test Samples Verification Matrix

Expected Valid Samples (Should Match)

+14155552671 Pass
+442071838750 Pass
+971501234567 Pass

Expected Invalid Samples (Must Reject)

0014155552671 Rejected (Pass)
+0123456 Rejected (Pass)
14155552671 Rejected (Pass)
+1415555267199999 Rejected (Pass)
Code Implementation Generator
// JavaScript / TypeScript (ES6+)
const pattern = /^\+[1-9]\d{1,14}$/;
const text = "+14155552671";

const isMatch = pattern.test(text);
console.log("Is Match:", isMatch);

if (isMatch) {
  const matches = text.match(pattern);
  console.log("Matches:", matches);
}

Regular Expression Token Breakdown

Follows ITU-T E.164 standard: begins with +, country code (1-9), followed by up to 14 digits. Each component of the regular expression serves a distinct syntactical purpose as mapped below:

Token PatternName / ComponentFunction & Rule
^\+Leading PlusLiteral plus symbol indicating international prefix.
[1-9]Country Code startFirst digit cannot be zero.
\d{1,14}$Subscriber Number1 to 14 subsequent digits.

Frequently Asked Questions

What is E.164 standard?
E.164 is the international telephone numbering plan that ensures worldwide routability.
Browse All 40 Patterns