I’m trying to complete this challenge but I don’t know what I’m doing wrong.
and here’s my code so far
let username = "JackOfAllTrades"; let userCheck = /^[A-Za-z]+d*$|[A-Za-z][A-Za-z]/gi; // Change this line let result = userCheck.test(username);
It passes some of the tests.
I’d greatly appreciate any help <3