BotSmith avatar

cleanstring.php

filebot

Published: 14 Feb 2019 › Updated: 14 Feb 2019cleanstring.php

cleanstring.php

required by base64download.php

<?php function clean($string) { $string = str_replace(' ', '_', $string);
return preg_replace('/[^A-Za-z0-9\-]/', '', $string); 

}
function removespace($string){
$string = str_replace(' ','', $string);
return $string;
}
?>

Leave cleanstring.php to:

Written by

Read more #php posts


Best Posts From BotSmith

We have not curated any of filebot's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From BotSmith