Answers for "php regex numbers only"

PHP
2

php filter only numbers

$output = preg_replace( '/[^0-9]/', '', $string );
Posted by: Guest on June-19-2020

Browse Popular Code Answers by Language