mobile number validation regex code example
Example 1: phone number regex
^[+]*[(]{0,1}[0-9]{1,4}[)]{0,1}[-\s\./0-9]*$
Example 2: phone number regex
^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$
Example 3: regex pattern for mobile number
/^(\+\d{1,3}[- ]?)?\d{10}$/
Example 4: phone number regex
^[+0]{0,2}(91)?[0-9]{10}$
Example 5: regex for mobile number
^[6-9]\d{9}$
Example 6: regex for mobile number
^\+*[0-9]+$