13,420
edits
Changes
→Extended Regular Expressions
:*'''or Condition: |'''<br>Can be used with grouping to match a variety of character(s), words or phases.<br>The | symbol is used to separate the variety of character(s) within a group.<br><br>
Examples of how to use these complex regular expressions with the grep '''egrep''' command are displayed below:<br><br>
<table align="left"><tr valign="top"><td>[[Image:re-8.png|thumb|right|280px|Example of using '''repetition'''.]]</td><td>[[Image:re-9.png|thumb|right|250px|Example of using '''grouping'''.]]</td><td>[[Image:re-10.png|thumb|right|250px|Example of using '''or condition with grouping'''.]]</td></tr></table>