Tell us what’s happening:
I simply don’t understand what to do to meet all the constraints. I’m looking at the hints and I straight up want to copy but I still don’t understand the solutions given to me. Can you walk me through on of the hints?
Your code so far
let username = "JackOfAllTrades";
let userCheck = /[a-z0-9]/i; // Change this line
let result = userCheck.test(username);
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.62
Heads up: regular expressions are tricky and some of the regular expression lessons do not have simple answers. regex101 is a really great tool for building and testing regular expressions. I still use it regularly, and I’ve been writing regular expressions for over a decade.
If you can tell us what part of the instructions or requirements have you stumped, we can try to help.