Answers for "php regex only digits allowed"

PHP
2

php filter only numbers

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

Code answers related to "php regex only digits allowed"

Browse Popular Code Answers by Language