How can I validate a South African cell phone number? The number must start with the country code like +27 and be max 11 digits long - total 12 with the "+" sign.
The OP was for a South African cell phone (mobile) number not just any South African telephone number.
The following regex is what worked for me:
^(\+27|0)[6-8][0-9]{8}$
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With