Displaying page
of
pages;
Items to
Title |
Test
Details
Pattern Title
|
Expression |
(^0[78][2347][0-9]{7}) |
Description |
checks for valid South African cellular numbers |
Matches |
0834128458 | 0749526308 |
Non-Matches |
0861212308 | 0892549851 |
Author |
Rating:
Not yet rated.
Zahir Jacobs
|
Title |
Test
Details
Pattern Title
|
Expression |
^((?:\+27|27)|0)(=72|82|73|83|74|84)(\d{7})$ |
Description |
Verifies South African mobile numbers with or without the country code. |
Matches |
+27832762842 | 27832762842 | 0832762842 |
Non-Matches |
083 276 2842 |
Author |
Rating:
Mpho Molahloe
|
Title |
Test
Details
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
|
Title |
Test
Details
south african phone number
|
Expression |
[0](\d{9})|([0](\d{2})( |-)((\d{3}))( |-)(\d{4}))|[0](\d{2})( |-)(\d{7}) |
Description |
validates south african phone numbers |
Matches |
0333872119 | 033 386162 | 074 101 2850 |
Non-Matches |
033386 2612 |
Author |
Rating:
Chris Morton
|
Title |
Test
Details
South African ID Number
|
Expression |
(((\d{2}((0[13578]|1[02])(0[1-9]|[12]\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\d|30)|02(0[1-9]|1\d|2[0-8])))|([02468][048]|[13579][26])0229))(( |-)(\d{4})( |-)(\d{3})|(\d{7})) |
Description |
Validates South African ID Numbers |
Matches |
771125 5047 081 | 771231-5046-081 | 7712315046081 |
Non-Matches |
non valid id numbers |
Author |
Rating:
Chris Morton
|
Title |
Test
Details
South Africa Cell Mobile Telephone Number
|
Expression |
^(\+27|27)?(\()?0?[87][23467](\))?( |-|\.|_)?(\d{3})( |-|\.|_)?(\d{4}) |
Description |
Allows most formats for entering valid South African mobile / cellular phone numbers. |
Matches |
(085)465-2627 +27(74)876_3212 27845678124 |
Non-Matches |
(172)896-3782 +34(43)857_5783 01245678124 |
Author |
Rating:
Not yet rated.
Leon Coetsee
|
Title |
Test
Details
Validate ZA Phone Numbers
|
Expression |
^((?:\+27|27)|0)(\d{2})-?(\d{3})-?(\d{4})$ |
Description |
Matches South African telephone/mobile numbers, with or without the country code. Can also include spaces or hyphens between values. Doesn't match brackets around the area code, but that would be easy to add in. Hope it helps someone... |
Matches |
0111231234 | 011 123 1234 | 011-123-1234 | 0821231234 | +27821231234 | +2782-123-1234 | +2782 123 1234 | 27111231234 | 2711 123 1234 | 2711-123-1234 |
Non-Matches |
(011)1231234 | (+2711) 123 1234 | (011) 123-1234 |
Author |
Rating:
Rory Cottle
|
Title |
Test
Details
South African Landline numbers
|
Expression |
^(?:(?:\(|)0|\+27|27)(?:1[12345678]|2[123478]|3[1234569]|4[\d]|5[134678])(?:\) | |-|)\d{3}(?: |-|)\d{4}$ |
Description |
Limited by proper dialing codes as per http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa. It will match phone numbers in most common formats that users normally type their phone number.
Tested with Perl engine regex in PHP. |
Matches |
+27121234567 +2712 123 4567 012 123 4567 (012) 123 4567 (012) 123-4567 |
Non-Matches |
27621234567 |
Author |
Rating:
Ian van den Heuvel
|
Title |
Test
Details
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
|
Title |
Test
Details
South African Phone Number (incl. Mobile and Landline) Format
|
Expression |
(\(0\d\d\)\s\d{3}[\s-]+\d{4})|(0\d\d[\s-]+\d{3}[\s-]+\d{4})|(0\d{9})|(\+\d\d\s?[\(\s]\d\d[\)\s]\s?\d{3}[\s-]?\d{4}) |
Description |
Tries to match the format of phone numbers within South Africa. Does not try to validate phone numbers based on actual numbers (e.g. cell networks or other landline prefixes) |
Matches |
(011) 123 4543,(011) 123-4543,(011) 212 8765,011 876 8789,0118768789,011-876-8789,082 821 9090,+27 11 123 1231,+27 (11) 123-1231,+27 (11) 123 1231,+27(11)123-1231,+27 11 1238765 |
Non-Matches |
011 1234 242 |
Author |
Rating:
Martin
|
Title |
Test
Details
South African Mobile Number Match
|
Expression |
^(\+27|27)?(\()?0?([7][1-9]|[8][2-4])(\))?( |-|\.|_)?(\d{3})( |-|\.|_)?(\d{4}) |
Description |
Regular expression to match South African Mobile network ( Range allocated to SPs until Dec'2011 ). |
Matches |
0710999999 +27710999999 +2771 099 9999 078 099 1234 (078) 099-1234 |
Non-Matches |
Land-line numbers ( Telkom ) & 0860 numbers |
Author |
Rating:
Not yet rated.
Saumil Patel
|
Title |
Test
Details
South African phone numbers - All formats
|
Expression |
^((0|(\(0\)))?|(00|(\(00\)))?(\s?|-?)(27|\(27\))|((\+27))|(\(\+27\))|\(00(\s?|-?)27\))( |-)?(\(?0?\)?)( |-)?\(?(1[0-9]|2[1-4,7-9]|3[1-6,9]|4[0-9]|5[1,3,6-9]|7[1-4,6,8,9]|8[0-9])\)?(\s?|-?)((\d{3}(\s?|-?)\d{4}$)|((\d{4})(\s?|-?)(\d{3})$)|([0-2](\s?|-?)(\d{3}(\s?|-?)\d{3}$))) |
Description |
Matches all valid mobile numbers, landline numbers, share call etc in all common phone number notations |
Matches |
+27-11-399-7206 |
Non-Matches |
075-356-6364 |
Author |
Rating:
Bright
|
Title |
Test
Details
South African ID Number Validity
|
Expression |
(((\d{2}((0[13578]|1[02])(0[1-9]|[12]\d|3[01])|(0[13456789]|1[012])(0[1-9]|[12]\d|30)|02(0[1-9]|1\d|2[0-8])))|([02468][048]|[13579][26])0229))(( |-)(\d{4})( |-)([01]8((( |-)\d{1})|\d{1}))|(\d{4}[01]8\d{1})) |
Description |
Matches valid South African ID numbers based on all criteria (except of course the checksum digit at the end).
Matches the format defined as:
YYMMDDSSSSCAZ.
YY - Year,
MM - Month,
DD - Day,
SSSS - Gender,
C - Denotes citizenship (0 or a 1),
A - Always an 8,
Z - Checksum digit (doesn't validate if the checksum itself is valid).
Also supports the following ways of entering it:
YYMMDDSSSSCAZ |
YYMMDD SSSS CAZ |
YYMMDD SSSS CA Z .
See this for a reference:
https://www.westerncape.gov.za/general-publication/decoding-your-south-african-id-number-0 |
Matches |
9202204720082 | 920220 4720 082 |920220 4720 08 2 | 920220-4720-082 | 920220-4720-08-2 9202204720183 | 920220 4720 183 | 920220 4720 18 3 | 920220-4720-183 | 920220-4720-18-3 |
Non-Matches |
9202204720282 | 920220 4720 052 | 920220 4720 05 2 | 920220-4720-252 |
Author |
Rating:
Rudi van Biljon
|
Displaying page
of
pages;
Items to