' Put not allowed characters between square brackets. Notice that
' some characters have a special meaning in regular expressions and
' thus you must escape them by preceeding them with a backslash.
Dim s As String = "[?:/]"
Dim t As String = "C::\/bla??"
MsgBox(Regex.Replace(t, s, ""))
///
I've noticed this also, so i've used my on set of chars to remove.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.