Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check if includes numbers php

if (preg_match('~[0-9]+~', $string)) {
    echo 'string with numbers';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #includes #numbers #php
ADD COMMENT
Topic
Name
2+5 =