Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Phone
#phone
#e164
#international
#mobile

Phone — E.164 International

Matches an international phone number in E.164 format: + followed by country code and subscriber number (max 15 digits total).

International phone validationSMS gatewaysTwo-factor authentication
/
/
Test String
4 matches
\+\+\+ — escaped character '+'
[…]Character class […]Matches any single character listed in this set
1-91-91-9 — range from '1' to '9'
\d{1,14}digit\d — digit (0–9) — repeated between 1 and 14 times · {1,14} — between 1 and 14 times
Pattern: 15 charsInput: 52 chars
100% client-side · private

Valid Examples

  • +14155552671
  • +442071838750
  • +48123456789
  • +33612345678

Invalid Examples

  • +0123456789
  • 14155552671
  • +1
  • +12345678901234567