Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get only numbers regex javascript

var numberPattern = /d+/g;

'something102asdfkj1948948'.match( numberPattern )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #numbers #regex #javascript
ADD COMMENT
Topic
Name
4+9 =