Created
December 25, 2019 11:36
-
-
Save bwonur/db316ff9d876bc45b94b092718f2f1ce to your computer and use it in GitHub Desktop.
PHP Remove Phone formating
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 = "PHONE FORMAT"; | |
| $phone = preg_replace('/\D+/', '', $phone); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment