HackerRank Day 28: RegEx, Patterns, and Intro to Databases problem solution - TheCScience