It seems like everything is covered yet, i am doing something wrong.
Not sure what.
Your code so far
let username = "JackOfAllTrades";
let userCheck = /\D\w*\d+/gi; // Change this line
let result = userCheck.test(username);
//\w [A-Za-z0-9_ alphanumeric.
//\D non-digits [^0-9] code starts with that.
//\d [0-9] digits i added the + to care for the several numbers. Code ends with it
//i ignores capitale letters
//w+ is alphanumeric i added the + to care for the several alphanumeric letters.
//g is added to cover repeat
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.