I\'m using this pattern to check the validation of a phone number
^[0-9\\-\\+]{9,15}$
It\'s works for 0771234567 and +0
0771234567
+0
^(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]\d{3}[\s.-]\d{4}$
Matches the following cases:
123-456-7890
(123) 456-7890
123 456 7890
123.456.7890
+91 (123) 456-7890