<?php
// номер
$number = "8 (911) - 123 - 45 - 67";
$regExp = "/^(\+ *7| *8)([ ()-]*\d){10}$/m";
$regExp1 = "/^(\+ *7| *8)/";
$regExp2 = "/ |-|\(|\)/";
}
echo $result;
PD9waHAKCi8vINC90L7QvNC10YAgCgokbnVtYmVyID0gIjggKDkxMSkgLSAxMjMgLSA0NSAtIDY3IjsKJHJlZ0V4cCA9ICIvXihcKyAqN3wgKjgpKFsgKCktXSpcZCl7MTB9JC9tIjsKJHJlZ0V4cDEgPSAiL14oXCsgKjd8ICo4KS8iOwokcmVnRXhwMiA9ICIvIHwtfFwofFwpLyI7CmlmIChwcmVnX21hdGNoKCRyZWdFeHAsICRudW1iZXIpKSB7CgkkcmVzdWx0ID0gcHJlZ19yZXBsYWNlKCRyZWdFeHAxLCAiOCIgLCAkbnVtYmVyKTsKCSRyZXN1bHQgPSBwcmVnX3JlcGxhY2UoJHJlZ0V4cDIsICIiICwgJHJlc3VsdCk7Cn0KZWNobyAkcmVzdWx0Ow==