<?php function clean($string) { $string = str_replace(' ', '', $string); return preg_replace('/[^A-Za-z0-9\-]/', '', $string); } $string = 'Lee%-&*d#'; echo clean($string); echo "\n"; echo $string;
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`