$phone = #טלפון ראשי#; $phone = preg_replace(‘/D/’, ”, $phone); $phone = ltrim($phone, ‘0’); $phone = ‘+972’ . $phone; return $phone;