Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

string to number javascript & remove text

str = str.replace(/[^0-9.]+/g, "");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #string #number #javascript #remove #text
ADD COMMENT
Topic
Name
8+4 =