$str = 'lkdsaglfkgslfkjagsd'; if (preg_match('/[^\\dA-Za-z]/', $str)) { die('illegal characters!'); }
Jump To Top of Thread