Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

32 bytes removed, 08:23, 13 March 2021
Complex / Extended Regular Expressions
:'''Zero or More Occurrence:''' <span style="font-family:courier;font-weight:bold;">*</span><br>Zero or more occurrences of previous character.<br>
:Examples of how to use these '''complex regular expressions with the grep command ''' are displayed below:
<table align="left"><tr valign="top"><td>[[Image:re-4.png|thumb|right|200px|Example of using '''anchors'''.]]</td><td>[[Image:re-5.png|thumb|right|175px|Example of matching by '''character(s)'''.]]</td><td>[[Image:re-6.png|thumb|right|220px|Example of using '''character class'''.]]</td><td>[[Image:re-7.png|thumb|right|200px|Example of matching '''zero or more occurrence of preceding character'''.]]</td></tr></table>
13,420
edits