Regular expression

Definition
A regular expression is

"[a] sequence of characters (or words) that forms a search pattern, mainly for use in pattern matching with strings, or string matching."