<?php

error_reporting(-1);

$numberTelephone='8927-54-54-305';
$regexp='/(\d+)(\D+)(\d+)/';
$result=preg_replace($regexp, '$1$3', $numberTelephone);
echo "$result\n";