You should separate the number pullout and its formatting. Of course, everything can be done in one regular schedule, but this solution will not look clean.
You can pull it out like this: /Номер клиента: \+?([0-9-() ]+)/ , part \+?([0-9-() ]+) which coincides with the phone number, which may contain a plus sign at the beginning (or it may not contain), and the phone number itself may consist of digits, spaces, hyphens and brackets. Like that:
$input_string = 'Номер клиента: +1(234) 567-89-00<br>Вид заявки:'; $phone_number = preg_replace('/Номер клиента: \+?([0-9-() ]+)/', '$1', $input_string);
Now this number must be formatted. Usually phone numbers lead to a numeric value, so it's best to simply remove the extra characters from the number using the str_replace() function:
$clean_number = str_replace([' ', '-', '(', ')'], '', $phone_number); echo $clean_number; // 12345678900
If you put a phone number in the database, choose some text field, otherwise those numbers that start from zero, as @Miron correctly noted, may later be incorrectly processed. Try to work with the phone number as a string, not as a number.