regex js get only number code example
Example: get only numbers regex javascript
var numberPattern = /\d+/g;
'something102asdfkj1948948'.match( numberPattern )
var numberPattern = /\d+/g;
'something102asdfkj1948948'.match( numberPattern )