Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAA slightly different output to the solution...
I decided to define a word as a series of letters which can have a ' in the middle of the word (so I had they're as a word). I removed all the other characters from the start and end of words and split the words up based on this (so long-form would be two words). I also made everything lowercase as I believe that The is the same word as the.
This gives me a slightly different solution which I personally prefer
Didn't try to match the solution. I changed everything to lower case first, so I could count "the", "THE" and "The" as the same word, for example.
Solution.