Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript string get numbers

var txt = "#div-name-1234-characteristic:561613213213";
var numb = txt.match(/d/g);
numb = numb.join("");
alert (numb);​
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #string #numbers
ADD COMMENT
Topic
Name
9+5 =