Is there a built-in function for this??? Or do I need to create some ultra-complicated ereg_replace() statement for it?
Thanks, -John
Is this good enough? Am I forgetting anything?
function unixFriendly($string) { $string = ereg_replace(" ","",$string); $string = ereg_replace("[a-zA-Z0-9]","",$string); $string = strtolower($string); return $string; }