?Regular expression?which checks or validates a phone number.
$format1 = “/^([1]-)?[0-9]{3}-[0-9]{3}-[0-9]{4}$/i”;
// 1- 555- 555- 5555
// or 555- 555- 5555
preg_match(‘/^[+]?([0-9]{1,15})?([\.\-\s0-9]{1,15})$/’, $_REQUEST[‘telephone’])
//+9382938209329
//98979 9090 9089
//929-99090 909