Answers for "remove numeric in php"

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

Browse Popular Code Answers by Language