13,420
edits
Changes
→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, (tabs or spaces). A '''simple''' ('''literal''') regular expression consists of normal characters, which used to match patterns.<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:
<span style="color:blue;font-weight:bold;font-family:courier;">grep Linux document.txt</span><br><br>