A regular expression is a pattern describing a certain amount of text. The most basic regular expression consists of a single literal character.