<?php function sanitizeFilename(string $name): string { return preg_replace( '/\W+/', '', str_replace(' ', '_', $name) ); } echo sanitizeFilename('This/is My 1! FilenAm3');
You have javascript disabled. You will not be able to edit any code.