mirror of
https://github.com/Respect/Validation.git
synced 2024-06-03 06:12:17 +02:00
16 lines
353 B
Markdown
16 lines
353 B
Markdown
|
# Phone
|
||
|
|
||
|
- `v::phone()`
|
||
|
|
||
|
Validates a valid 7, 10, 11 digit phone number (North America, Europe and most
|
||
|
Asian and Middle East countries), supporting country and area codes (in dot,
|
||
|
space or dashed notations) such as:
|
||
|
|
||
|
(555)555-5555
|
||
|
555 555 5555
|
||
|
+5(555)555.5555
|
||
|
33(1)22 22 22 22
|
||
|
+33(1)22 22 22 22
|
||
|
+33(020)7777 7777
|
||
|
03-6106666
|