Regular Expressions

Question: Validate if a user input string is alphanumeric. The given string is not nil/null/NULL/None, so you don't have to check that. The string has the following conditions to be alphanumeric:

At least one character (""is not valid)
Allowed characters are uppercase / lowercase Latin letters and digits from 0 to 9
No whitespaces/underscore
const REGEXP = /^[a-zA-Z0-9]+$/

function alphanumeric(string){
  //your code here
  return REGEXP.test(string);

}