DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
regex remove non numeric
s = "joe ($3,004.50)"; s = Regex.Replace(s, "[^0-9.]", ""); // 3004.50
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#regex
#remove
#numeric
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit