/* 1) If there are numbers, they must be at the end. 2) Letters can be lowercase and uppercase. 3) At least two characters long. Two-letter names can't have numbers. */
let username = "JackOfAllTrades"; let userCheck = /change/; // Change this line let result = userCheck.test(username);
1
2
3
4
5
6
7
8
9
/*
1) If there are numbers, they must be at the end.
2) Letters can be lowercase and uppercase.
3) At least two characters long. Two-letter names can't have numbers.