Title |
Test
Find
Pattern Title
|
Expression |
^([\+][0-9]{1,3}[\.][0-9]{1,12})([x]?[0-9]{1,4}?)$ |
Description |
Validates on the following standards:
+CCC.ZZZZZZZZZZxYYYY, where 'C' is the numeric
country phone code (up to three digits), 'Z' is the phone number (up to
12 digits) and 'Y' is the extension (up to 4 digits); max length overall is
20 characters, including the '+', '.', and 'x' (if extension is present).
Useful for people communicating with the OpenSRS API |
Matches |
+800.4453377x4444 | +80.4453377 | +8.123456789123x1111 |
Non-Matches |
181823884499 | +800.4453377x | 2486994x11 |
Author |
Rating:
Not yet rated.
Hayk A
|
Source |
|
Your Rating |
|
Title: [\. ] means \ or .
Name: zhao
Date: 6/3/2004 3:08:33 AM
Comment:
^(\+[0-9]{1,3}\.[0-9]{1,12})([x]?[0-9]{1,4}?)$