Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karamansky/4349e29c31436c42977ab6742afaf524 to your computer and use it in GitHub Desktop.
Save karamansky/4349e29c31436c42977ab6742afaf524 to your computer and use it in GitHub Desktop.
PHP: Очистка номера телефона от символов
<a href="tel:+'. preg_replace("/[^0-9]/", "", $phone) .'">'. $phone .'</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment