public static function alphanumberOnly($string) { return preg_replace('/[^[:alnum:]]/', '', $string); }