0

Good morning,

I want to use RegEx.Replace to replace special characters in a string. I want to make sure I only have alphabetic characters in my string. All I want to do is to remove the non-alphabetic characters. Some code:

    Dim myString as String = "Me & my *buddy* love$ fishing!!!"
myString = RegEx.Replace(myString, "\[!@#$%^&*()+]", "")

For some reason this does not work so I must be doing something wrong. Please help!

0 Answers0