International Phone Number (E.164)
beginnerMatches international phone numbers in E.164 format.
phoneinternationale164validation
Pattern
/\+[1-9]\d{1,14}/gTry It
0 of 7 strings matched
Explanation
Matches E.164 format: a plus sign followed by 1-15 digits, starting with a non-zero country code. This is the standard format for international telecommunications.
Test Strings
Matching
- +14155551234
- +442071234567
- +61412345678
Non-matching
- +0123456789
- 14155551234
- +1
- phone12345
Language Compatibility
| Language | Support |
|---|---|
| JS | Full support |
| PYTHON | Full support |
| JAVA | Full support |
| PHP | Full support |
| GO | Full support |
Code Snippets
const regex = /\+[1-9]\d{1,14}/g;
const text = "your text here";
const matches = text.match(regex);
console.log(matches);Common Variations
With spaces
\+[1-9]\d{0,2}[\s-]?\d{2,4}[\s-]?\d{4,}Allows spaces or hyphens between groups