How To Strip Numbers From String
- Forums
- Scripts
- How To Strip Numbers From String
Need To Know About Striping Number From A String In A Script Using Php And Mysql Database [2777], Last Updated: Mon Jun 24, 2024
Sanders
Mon Nov 16, 2009
1 Comments
379 Visits
i have a script which requires me to remove all numberic characters from a string.
for example, lets say i have this string:
$foo = 'my phone number is: 213-555-1212';
so i want it to be changed to:
$foo = 'my phone number is: ';
as you can see, all the digits have been removed and only the alpah characters are left
PHPCODE:
https://www.webune.com/forums/how-to-strip-numbers-from-string.html