DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript regex test number only
/^[0-9]*$/.test('abc123') // false
Source by www.regextester.com #
PREVIOUS
NEXT
Tagged:
#javascript
#regex
#test
#number
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit