Title |
Test
Find
South African Cell Phone Number
|
Expression |
(^0[87][23467]((\d{7})|( |-)((\d{3}))( |-)(\d{4})|( |-)(\d{7}))) |
Description |
only allows valid cell phones from south african service providers. to date i havent seen a cell phone number starting 079 or 089 but i think the networks might support it... |
Matches |
0848298477 | 084 829 8477 | 084-829 8477 |
Non-Matches |
084829 8477 |
Author |
Rating:
Chris Morton
|
Source |
|
Your Rating |
|
Title: Try this
Name: Jakes122
Date: 5/15/2017 5:29:43 PM
Comment:
Try this for the available ranges in SA - https://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa
^0[87654321][12346789]((\d{7})|( |-)((\d{3}))( |-)(\d{4})|( |-)(\d{7}))
Title: Outdated
Name: David van Rensburg
Date: 5/29/2013 4:00:06 AM
Comment:
My number starts with 081 and this does not match. Should be (^0[87][123467]((\d{7})|( |-)((\d{3}))( |-)(\d{4})|( |-)(\d{7})))