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.
Ultimately, this is the overall approach I took. But for any code I write which makes use of RegEx, I strive even harder than usual to make it readable. RegEx doesn't have to be as hard to read as people make it out to be.
For anyone curious what a more readable RegEx solution for this might look like:
https://www.codewars.com/kata/reviews/520446778469526ec0000004/groups/5ed642bd8792a0000147e74c
Plz, explain how you solve this without a single loop -_-