• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/phonenumber/parser.php
  • Класс: BitrixMainPhoneNumberParser
  • Вызов: Parser::stripLetters
static function stripLetters($str)
{
	return preg_replace("/[^d]/", "", $str);
}