Regular Expressions - Restrict Possible Usernames

pls can anybody help with understanding of the fourth condition in the question, the other conditions are pretty clear.

Your code so far

let username = "JackOfAllTrades";
let userCheck = /change/; // Change this line
let result = userCheck.test(username);

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Safari/537.36

Challenge: Regular Expressions - Restrict Possible Usernames

Link to the challenge:

Username has to have at least 2 characters. If username has exactly 2 characters, they need to be letters (no numbers).

Thanks a lot, i get it now

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.