Tell us what’s happening:
Describe your issue in detail here.
I can’t figure out how to specify a minimum of 2 alphabetical characters
Your code so far
let username = "JackOfAllTrades";
let userCheck = /^[a-z{2,}]+[0-9]*$/ig; // 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/101.0.4951.64 Safari/537.36 Edg/101.0.1210.53
Challenge: Restrict Possible Usernames
Link to the challenge: