Answers for "regex remove non numeric"

0

regex remove non numeric

s = "joe ($3,004.50)";
s = Regex.Replace(s, "[^0-9.]", "");
// 3004.50
Posted by: Guest on September-02-2021

Code answers related to "regex remove non numeric"

Code answers related to "Javascript"

Browse Popular Code Answers by Language