$output = preg_replace("/[^a-zA-Z0-9_\-]/", '', $input);
2
solved Allow letters, digits and certain characters and delete the rest [closed]
$output = preg_replace("/[^a-zA-Z0-9_\-]/", '', $input);
2
solved Allow letters, digits and certain characters and delete the rest [closed]