regex
Regular expressions (regex) are patterns used to match, search, and manipulate text. tldr-pages
On several platforms
Several platforms
Regular expressions (regex) are patterns used to match, search, and manipulate text. Note: regex isn't a command, but syntax to be used with other commands.
Match any single character
.Match the start of a line
^helloIdentifyMatch the end of a line
world$Match zero or more repeated characters
a*Match one character in a set of characters
[abc]Match ranges of characters
[a-z][3-9]Match anything but the specified character
[^a]Match a boundary around a word
"\btext\b"