- var_dump: documentation ( source)
- stripslashes: documentation ( source)
- str_replace: documentation ( source)
<?php
$input = "Sc\reen S/hot 20'14-05-19 at 14.21.22";
$filename = str_replace(['/', '\'', ' '], '_', stripslashes($input));
var_dump($filename);