Before the first project due for Flatiron, there were many concepts that was tough to understand such as the self keyword, object relationships, and metaprogramming concepts. For me there is one concept that I have not fully understood yet, which is the regular expressions, or regex for short. Regex is…