c# remove non numericals from string code example
Example: remove all non number in c#
public static string RemoveNonNumeric(string value) => Regex.Replace(value, "[^0-9]", "");
public static string RemoveNonNumeric(string value) => Regex.Replace(value, "[^0-9]", "");