let username = "JackOfAllTrades"; let userCheck = /[A-Za-z][a-zA-Z]+[0-9]*$/ig; let result = userCheck.test(username);
Your regex should match JACK
Your regex should match RegexGuru
While I could code a solution for the lesson, I can’t figure out why this particular Regex is not acceptable to fill the requirements.
I already tried “/^[A-Za-z][a-zA-Z]+[0-9]*$/ig” in case those strings not matched were starting with a whitespace, but it seems they don’t, for it has not worked either.