Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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.