13,420
edits
Changes
→Complex Regular Expressions
:*'''Anchors: ''' <span style="font-family:courier;font-weight:bold;">^</span> , <span style="font-family:courier;font-weight:bold;">$</span>
:*'''Single Character: ''' <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: