Search
 
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
Name
7+2 =