Regular expressions is a concept used to search for patterns in string text. https://www.activestate.com/wp-content/uploads/2020/03/Python-RegEx-Cheatsheet.pdf This is a universal concept for any programming language or text editing program. The goal of regular expressions is to be able to search for a specific type of text inside of a string. If we…