A regular expression, regex or regexp (sometimes called a rational expression) is a sequence of characters that define a search pattern. Usually such patterns are used by string searching algorithms for “find” or “find and replace” operations on strings, or for input validation. – wikipedia
Regular expressions are very useful. We use them to:
It’s not worth memorizing this stuff, but you should understand it.