Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

10 bytes added, 07:55, 13 March 2021
Literal (Simple) Regular Expressions
[[Image:re-3.png|thumb|right|200px|The simplest regular expression is a series of letters and numbers, possibly including white space (tabs or space characters).]]
The simplest regular expression is a series of letters and numbers, possibly including white space (tabs or space characters), that have no special meaning. Such a A '''simple''' regular expression consists of ``'''literals'''; that is, normal letters, which match only an identical letter in the data being searched.<br><br>
Although there are many Linux commands that use regular expressions, the grep command is a useful command to learn how to display matches of patterns of strings within text files.<br><br>
For example:
13,420
edits