https://javascript.plainenglish.io/unleash-the-power-of-string-match-in-javascript-real-life-examples-c9d217629a87