DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
check if a string is alphanumeric
if (string.match(/^[0-9A-Za-z]+$/) === null) { //is not alphanumeric }else{ //it is alphanumeric }
PREVIOUS
NEXT
Tagged:
#check
#string
#alphanumeric
ADD COMMENT
Topic
COMMENT
Name
2+9 =
Submit