Special characters removal from a word

Hi I have a sentence where in I need to remove special characters from it. any methods here?

hi @Bhjanga_Prabhu u can achieve this using Regex

outputString=System.Text.RegularExpressions.Regex.Replace(variable, “[^a-z A-Z 0-9]”, “”)

Variable - will be ur input


1 Like

Thanks man will try this

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.