assign this to a string variable e.g. “result” , where “input” is your string input,
this will replace any / , \ , * , : , ? , " , > , < , | that it finds System.Text.RegularExpressions.Regex.Replace(input,"[\/\\*:\?\"+Chr(34)+"><|]","-")
Note that Chr(34) means double quote, as you cant just place a double quote inside a string