/* Decoded by unphp.net */ $str="7575839934"; echo preg_replace('/(\d{2})(\d{3})(\d)(\d{2})(\d{2})/', '-@--', $str);