Answers for "php remove all numerics from string"

PHP
1

php remove numbers from string

$words = preg_replace('/[0-9]+/', '', $words);
Posted by: Guest on September-25-2020
2

php remove non numeric

$res = preg_replace("/[^0-9]/", "", "Every 6 Months" );
Posted by: Guest on December-17-2020

Code answers related to "php remove all numerics from string"

Browse Popular Code Answers by Language