Regex to remove all (non numeric OR period)
Posted
by Ready Cent
on Stack Overflow
See other posts from Stack Overflow
or by Ready Cent
Published on 2010-06-16T17:35:19Z
Indexed on
2010/06/16
17:42 UTC
Read the original article
Hit count: 131
I need for text like "joe ($3,004.50)" to be filtered down to 3004.50 but am terrible at regex and can't find a suitable solution. So only numbers and periods should stay - everything else filtered. I use C# and VS.net 2008 framework 3.5
© Stack Overflow or respective owner