How Do I replace ? and / with _

Use $validate(filename string,_)
This replaces the invalide filename characters /?*"<>|: with _