PHP preg_match - only allow alphanumeric strings and - _ characters
Viewed 487 times since Thu, Sep 17, 2020
if(preg_match('/[^a-z\s\d]/i', $line)) { $size_x -= 15; } Reference: https://stackoverflow.com/questions/7753365/php-preg-match-only-allow-alphanumeric-strings-and-characters/46413055
Read More