string remove all non numeric c# 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]", "");