Hello, Dear HashCoders!

Tell me, please, how to check the php string. It is necessary that it contains only letters of the English alphabet and numbers.

Thank you very much human!

    1 answer 1

    if (preg_match("/^[[:alnum:]]+$/", "1234234efshdkjfhweuir29dakhjkHKKGHK")) /* do_something */ 
    • Thank you very much! - Toshjkeee