Title |
Test
Find
South African Phone Number
|
Expression |
^(\+27|27|0)[0-9]{2}( |-)?[0-9]{3}( |-)?[0-9]{4}( |-)?(x[0-9]+)?(ext[0-9]+)? |
Description |
Matches a South African landline or cellphone number. Can use dashes or spaces. Can be prefexed with +27 or 27 or 0. With support for extensions. |
Matches |
+2711 555 5555 | 0835551234 | 2712-111-3333 |
Non-Matches |
347/123/2345 | 347 888 8921 | 123456789012 |
Author |
Rating:
Not yet rated.
Chaim Chaikin
|
Source |
|
Your Rating |
|