Skip to content

Glossary: Command Line for IT: Bash and PowerShell

regular expression (regex)

Also written: regex, regexes, regular expressions

A pattern that describes many texts at once, such as "any IP address" or "the word after for". It is built from pieces like . (any character), [0-9] (a class), + (repeat), ^ and $ (anchors) and (a|b) (a choice and group).

Where the book teaches it

Related terms

grep -Esed-matchgroup