streak 0d sign in / up

Advanced Text-Fu · Lesson 1 of 13

regex (Regular Expressions)

0%

0 / 5 checkpoints answered

Virtual Machine Standing by
✓ Setting up Virtual Machine…
✓ Initializing Virtual Machine…
✓ Starting Desktop Services…
✓ Connecting to Interface…

Click inside the terminal, type the command, press Enter.

Regular expressions, often shortened to regex, describe text patterns. Tools such as grep, sed, and awk use regex, but their supported syntax can differ, so always identify the tool and regex flavor.

GNU grep uses basic regular expressions (BRE) by default and extended regular expressions (ERE) with -E. This lesson introduces constructs shared by both, then notes common ERE additions.