Open main menu

CDOT Wiki β

Changes

Tutorial9: Regular Expressions

1 byte added, 11:29, 27 February 2021
Extended Regular Expressions
:*'''Repetition: {min,max}'''<br>Allows for more precise repetitions. Using braces, you can specify<br>the '''minimum''' and/or '''maximum''' number of repetitions.
:*'''Grouping: ( )'''<br>Perhaps you want to search for repetition for a group of characters, a word, or a phase.<br>You can enclose them within brackets ( ) to specify a group.
*'''Grouping: ( )'''<br>Perhaps you want to search for repetition for a group of characters, a word, or a phase.<br>You can enclose them within brackets ( ) to specify a group.  *'''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).<br><br>
Examples of how to use these complex regular expressions with the grep command are displayed below:<br><br>
13,420
edits