Answers for "c# remove all characters except alphanumeric"

C#
0

c# filter non alphanumeric characters

Regex rgx = new Regex("[^a-zA-Z0-9 -]");
str = rgx.Replace(str, "");
Posted by: Guest on March-25-2020
0

c# remove non-alphanumeric characters from string

string result = Regex.Replace(input, @"[^w]*", String.Empty);
Posted by: Guest on July-22-2021

Code answers related to "c# remove all characters except alphanumeric"

C# Answers by Framework

Browse Popular Code Answers by Language