How replace a special characters in string

Hi @Kavya_Bhat ,

From what i understand, you need to remove the special character from a string.

Try using Regex.

System.Text.RegularExpressions.Regex.Replace(“thisIs@myQues#”, “[^a-z A-Z]”, “”).ToString

Let me know if it works.

3 Likes