Created
January 3, 2020 08:48
-
-
Save bwonur/714e2e29e5d1c05b5ed5ed926e3b0121 to your computer and use it in GitHub Desktop.
PHP Phone Format Remover
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
| <?php | |
| $phone = preg_replace('/\D+/', '', $phone); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment