Changes

Jump to: navigation, search

Tutorial9: Regular Expressions

327 bytes added, 10:22, 27 February 2021
Complex Regular Expressions
'''Complex Regular Expressions''' use symbols to help match text for more <u>precise</u> (complex) patterns.<br>The most common complex regular expression symbols are displayed below:
:*'''Anchors: ''' '''<span style="font-family:courier;font-weight:bold;">^''' </span> , '''<span style="font-family:courier;font-weight:bold;">$'''</span>:*'''Single Character: &nbsp; <span style="font-family:courier;font-weight:bold;">.'''</span>:*'''Character Class: <span style="font-family:courier;font-weight:bold;">[ ]''' </span> , '''<span style="font-family:courier;font-weight:bold;">[^ ]'''</span>:*'''Zero or More Occurrence: <span style="font-family:courier;font-weight:bold;">*'''</span>
Examples of how to use these complex regular expressions with the grep command are displayed below:
13,420
edits

Navigation menu