<?php function clean($string) { return preg_replace('/[^A-Za-z0-9\-/]/', '', $string);; } var_dump(clean(' abcDEF123/-_~àéèùïî% *\@& '));
You have javascript disabled. You will not be able to edit any code.