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.
This comment is hidden because it contains spoiler information about the solution
That rocks. The lookahead and keeping matches techniques are essentials.
This comment is hidden because it contains spoiler information about the solution
nice used the output of the modulo operator for the 1 and 0. Very slick.
Some people, when confronted with a problem, think "I know, I'll use regular expressions." Now they have two problems.
in js Boolean(" ") return TRUE and Boolean(undefined) return FALSE, if the condition throw a false condition the string will be a space string.
\d for digits! Thank you
Would fail on "\n"
good!
Thanks so much! I did the most inefficient solution and had no idea this existed. I was reading all about 'regex' but still was coming up dry.
I noticed that the description only applies when the string length is odd, otherwise it should be completely trimmed.
shortest one yet
bravo!
Same problem here.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...