Ad
  • Custom User Avatar

    I used a for loop to look at each character and push to one array if numbers and another if other than numbers. The reason I did this instead of testing the entire string as a standalone against a regexp is because the random numbers kept failing randomely in the final submit... I went the long way around, but all tests passed when I started looking at each character in the string one at a time.