First of all, sorry for bothering.
I really want to complete this challenge in this way but it seems I cannot pass 2 of the required strings and I am not sure why.
Can someone please explain me what am not taking into consideration, please?
Your code so far
let username = "JackOfAllTrades"; let userCheck = /^\D+[a-zA-Z]+$\d*/; // 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/83.0.4103.97 Safari/537.36 Edg/83.0.478.45.
Challenge: Restrict Possible Usernames
Link to the challenge: