check Figure 1
Regular expressions are a powerful pattern recognition language in almost every programming language. They are mostly used to match character combinations in strings. Using regular expressions in JavaScript, verify a South African mobile number, as depicted in Figure 1. Display an error if the entered number cannot be verified.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here