Last active
December 26, 2022 13:19
-
-
Save karamansky/4349e29c31436c42977ab6742afaf524 to your computer and use it in GitHub Desktop.
PHP: Очистка номера телефона от символов
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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