c# remove all characters except for numbers in toString code example
Example: remove all non alphabetic characters from string c#
var cleanString = new string(dirtyString.Where(Char.IsLetter).ToArray());
var cleanString = new string(dirtyString.Where(Char.IsLetter).ToArray());