You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today.

Details

Release Info

LinuxCBT RegEx Edition explores the foundations of Linux and Unix regular expressions.

Release Syllabus

Regular Expressions Language

LinuxCBT Scripting Editon - RegEx - Module V

  • Introduction - Features
    • Discuss course outline
    • Explore system configuration
    • Identify key systems to be used
    • Install the Bluefish graphical editor - Supports POSIX and PERL-compatible RegExes
    • List key Regular Expressions applications
    • Enumerate and discuss key Regular Expressions features
  •  
  • Metacharacters
    • Enumerate important metacharacters
    • Provide examples of asterisk '*' usage
    • Apply simple character classes to searches
    • Perform searches in the Bluefish editor using literals and metacharacters
    • Explain and apply anchors: '^', '$'
  •  
  • Character Classes
    • Discuss features and applications
    • Perform searches in the Bluefish editor using character classes
    • Search for case-insensitive characters
    • Negate character class values using the circumflex character: '^'
    • Specify ranges and inclusions
    • Search for string boundaries
    • Alternate between POSIX and Perl-compatible Regular Expressions in Bluefish Editor
  • RegExes with GREP & EGREP
    • Discuss features and applications
    • Perform simple GREP searches
    • Use EGREP to find strings based on RegExes
    • Parse installed applications using EGREP
    • Extract 'su' attempts from the system log file: /var/log/messages
    • Parse log file entries based on specific dates
  •  
  • Parenthetical Expressions
    • Discuss features and applications
    • Compare and contrast with character classes
    • Search for strings using the Bluefish Editor
    • Combine anchors with parenthesis and evaluate results
    • Search for multiple groups of strings using alternation
    • Use parenthetical expressions with EGREP
    • Nest expressions using parenthesis
  • Quantifiers
    • Discuss features and benefits
    • Define RegEx tokens
    • Enumerate and discuss RegEx quantifiers
    • Test '?' using the Bluefish Editor and EGREP
    • Test '*' using the Bluefish Editor and EGREP
    • Test '+' using the Bluefish Editor and EGREP
    • Test '*' using the Bluefish Editor and EGREP
    • Test '{ }' - arbitrary quantifiers with the Bluefish Editor and EGREP
    • Combine anchors, parenthesis and various quantifiers
  • Shortcut Sequences - POSIX & Perl
    • Discuss features and benefits
    • Enumerate and discuss key shortcut sequences
    • Test shortcut sequences using the Bluefish Editor
  •  
  • Awk - Field Parser
    • Discuss features and applications
    • Use awk to extract fields from the process listing
    • Apply RegEx literal strings to awk search and evaluate results
    • Apply RegEx character classes to awk search and evaluate results
    • Apply RegEx parenthetical expressions to awk search and evaluate results
    • Apply RegEx quantifiers to awk search and evaluate results
    • Incorporate conditional RegEx matching with awk search and evaluate results
    • Extract fields, based on RegExes, from system log file: /var/log/messages
  • SED - Stream Editor
    • Discuss features and applications
    • Perform text transformation of text file using string literals
    • Perform text transformation of text file using string literals and character classes
    • Perform text transformation of text file using string literals and anchors
    • Perform text transformation of text file using string literals and character classes
    • Evaluate results
  •  
  • GNU Utilities (GREP|Awk|SED) for Windows
    • Discuss features and benefits
    • Identify and connect to Windows Server target system
    • Download and install GNU utilities for Windows: GREP, Awk, SED
    • Perform EGREP searches and evaluate results
    • Perform gawk searches and evaluate results
    • Perform SED substitutions and evaluate results
  •  
  • Perl Regular Expressions
    • Discuss features and applications
    • Write simple Perl script to compare command line argument to RegEx and evaluate results
    • Alter Perl script to read text file and perform RegEx comparisons and evaluate results
    • Incorporate character classes, parenthetical expressions, case-insensitivity and quantifiers
    • Evaluate results
    • Substitute matched text using Perl RegExes
    • Substitute matched text using Perl RegExes from the command line
    • Update system log using text substitution from the command line
  •  
  • PHP Regular Expressions
    • Discuss features and applications
    • Perform POSIX and Perl-compatible RegExes from the command line
    • Substitute text using RegExes
    • Evaluate results
    • Design HTML form to collect fields via the browser
    • Design back-end, action script to process the POST fields using RegExes
    • Halt processing if POST fields do NOT meed criteria based on RegExes
    • Evaluate results
  •  
  • Apache Regular Expressions
    • Discuss features and benefits
    • Identify key configuration files
    • Explore key RegEx-supporting Apache directives
    • Match a range of directories using RegExes with <DirectoryMatch> directive
    • Restrict access to files using RegExes with <FilesMatch> directive
    • Match URL directory values using RegExes with <AliasMatch> directive
    • Redirect users to alternate content using RegExes with <RedirectMatch> directive
  •  
  • Date | Time Extractions | Regular Expressions | Logs
    • Identify log entries to filter
    • Filter date | time ranges using regular expressions
    • Substitute extracted columns with replacement data
    • Evaluate results
  •  
  • HTML Updates
    • Select HTML | PHP files to update
    • Identify key strings
    • Replace key strings with substitutes
    • Perform widespread changes across HTML | PHP documents
    • Evaluate results
  •  

Tokyo Time

16:9

Rate

1.25x

Watched

1

Completed

1 of 5