how to check if phone number is 123-4567 php code example Example: phone number regex ^[+0]{0,2}(91)?[0-9]{10}$