We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!Submit Feedback
Although i tried the regex way I could not get it to work however I did it really quick using many tools. I am struggling a bit learning the regex way, does anyone know of any online courses/documentation which is not incredibly complicate! I did find this cheat sheet which has been helpful doing some bits https://www.cheatography.com/davechild/cheat-sheets/regular-expressions/pdf/ in other work!
I know this is probably one of the longest ways around, and I know the "one tool" would be the RegEx tool, but I am not that well versed in it and got tired of beating my head against the wall, so... here is my "working" solution. The main downfall is that if the original text string has more than 1000 words, then it will not work properly. I will definitely be looking at other, more efficient solutions.