A coding challenge to clear up 3 regular expression concepts

White frame
Photo by Clark Van Der Beken on Unsplash.

I recently came across an interesting code challenge that consisted of a few questions. The first question can be seen below:

“We love word clouds! Given the following text, print a list of all the words used and the number of times they appear. Please ignore punctuation and other uninteresting…

Matthew Croak

Software Engineer & Blogger

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store