I'm trying to return doubles from a string. The problem is the strings are sometimes full of extra characters. How can I return only the numbers 0-9 and the decimal character from a string using the Regex class?
so "$10.54" becomes 10.54
and "12/RL" becomes 12.