I managed to solve, thought it would be more complicated, I only needed think more.

 Code:
Function StringReplace($String, $Search ,$Replace)
  $StringReplace = Join(Split($String, $Search), $Replace)
EndFunction

$aChars = Split('\ / : * ? " < > | !',' ')
For Each $char In $aChars
  $File = StringReplace($File, $char, "")
Next
_________________________