DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
1+3 =
Submit