Restrict Possible Usernames solution requires knowledge not introduced

Hello there,

I have updated the guide solution with a solution that only makes use of Regex the camper has been taught.

I am setting this as resolved, as this challenge is completely possible, and not unreasonable for campers to come up with a similar solution.

Solution
let username = "JackOfAllTrades";
let userCheck = /^[a-z][a-z]+\d*$|^[a-z]\d\d+$/i;
let result = userCheck.test(username);
6 Likes