, Restrict Possible Usernames

Your code so far


let username = "J9";
let userCheck = /^[a-z][a-z]+\d*$|^[a-z]\d\d+$/i;

VScode gives ‘false’ for this

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Challenge: Restrict Possible Usernames

Link to the challenge:

(haven’t checked second solution)

oops, never mind above is fine

If the solution passes the test suite, then it must meet this requirement.