Regex Usuń nie numeryczny
s = "joe ($3,004.50)";
s = Regex.Replace(s, "[^0-9.]", "");
// 3004.50
Powerful Penguin
s = "joe ($3,004.50)";
s = Regex.Replace(s, "[^0-9.]", "");
// 3004.50