Changes

Jump to: navigation, search

Tutorial9: Regular Expressions

1 byte added, 09:32, 13 March 2021
Complex / Extended Regular Expressions
:'''or Condition:''' <span style="color:blue;font-family:courier;font-weight:bold;">|</span><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 '''extended regular expressions''' with the '''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>
13,420
edits

Navigation menu