RegEx: Restrict Possible Usernames with One Error

Tell us what’s happening:
Hey guys,

With this code, I am only failing one test: " Your regex should match Z97".
However, I am not sure how to make this test pass without failing others.
What am I missing here?

Your code so far

let username = "JackOfAllTrades";
let userCheck = /^[a-z]{2,}\d*$/i; // Change this line
let result = userCheck.test(username);

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36.

Challenge: Restrict Possible Usernames

Link to the challenge:

you need to make it a bit more complex.

I will hint you could review this challenge, just a suggestion:

I’ll review it to try to make it a little more complex and see what I can do.