A regular expression is an object that describes a pattern of characters.
Regular expressions are used to perform pattern-matching and "search-and-replace" functions on text.
1. pattern specifies the pattern of an expression
2. modifiers specify if a search should be global, case-sensitive, etc.