<?php function filter_alphanum($string) { $characters = str_split($string); $alphaNumeric = array_filter($characters,"ctype_alnum"); return join($alphaNumeric); } echo filter_alphanum("a!bc!#123 more and more");
You have javascript disabled. You will not be able to edit any code.