Literals

Literals in regular expressions are the simplest form of regular expressions. They will simply match the exact string that you specify. For example, the regular expression “cat” will match the string “cat” and nothing else.