regular expression

A regular expression (regex) is a way of describing a string of text using metacharacters or wildcard symbols. For example, the statement fly.*so[au]p means any phrase beginning with 'fly' and ending in oup' or 'soap'. If you searched for that expression, you'd find both "fly in my soup" and "fly in my soap." For more information, enter man grep from the command line.