Mastering Regular Expressions

By Elle Krout

Learn and implement the basics of regular expressions.

9 hours
  • 39 Lessons
  • 8 Hands-On Labs

About the course

In Mastering Regular Expressions, we begin by breaking down the "vocabulary" and "grammar" of regular expressions: First, by learning just what all those symbols and shortcuts mean, then by learning how to manipulate those tokens to craft complex regular expressions that achieve just the right desired result. We’ll do this by using some common Linux tools, such as grep and sed as well as through Perl and, eventually, JavaScript for some front-end regex use examples.

The second part of this course involves three different projects demonstrating ways to combine the use of regular expressions with various scripts and scripting languages to get the desired matches and results.

  • Chapter 1 3 Lessons Course Information 4:46

    An Important Note About A Cloud Guru and Linux Academy Courses

    1:19

    About the Course

    2:19

    About the Training Architect

    1:08
  • Chapter 2 4 Lessons Introducing Regular Expressions 34:03

    What Are Regular Expressions?

    7:19

    Tools

    9:34

    The Regex Engine

    7:32

    Standards

    9:38
  • Chapter 3 6 Lessons Basic Pattern Matching 58:28

    Literal Patterns

    3:47

    Characters and Words

    4:28

    Digits

    3:17

    Whitespace

    8:33

    Unicode

    8:23

    Basic Regular Expressions: Working with Hardware Data

    30:00 Hands-On Lab
  • Chapter 4 6 Lessons Alternation and Quantifiers 1:03:14

    Location

    7:39

    Boundaries

    5:07

    Alternation

    4:43

    Repetition

    11:57

    Possessive Quantifiers

    3:48

    More Basic Regular Expressions: Matching an Email Address

    30:00 Hands-On Lab
  • Chapter 5 5 Lessons Classes and Groups 58:31

    More Character Classes

    5:59

    Backreferences

    9:57

    Named Groups

    6:11

    Non-capturing Groups

    6:24

    More Regular Expressions: Using Groups to Process Text

    30:00 Hands-On Lab
  • Chapter 6 3 Lessons Lookarounds 1:16:33

    Lookaheads

    7:42

    Lookbehinds

    8:51

    More Regular Expressions: Using Lookarounds to Parse Data

    1:00:00 Hands-On Lab
  • Chapter 7 3 Lessons Conditionals 46:38

    If Conditionals

    8:34

    Named and Nested Conditionals

    8:04

    Regular Expressions: Parsing Mailing List Data

    30:00 Hands-On Lab
  • Chapter 8 3 Lessons sed 1:26:52

    Using a sed Script to Generate Human-Readable Files - Part 1

    13:40

    Using a sed Script to Generate Human-Readable Files - Part 2

    13:12

    Regular Expressions: Marking Up a Document with sed

    1:00:00 Hands-On Lab
  • Chapter 9 3 Lessons Perl 1:26:24

    Using Perl to Convert an HTML Document - Part 1

    14:16

    Using Perl to Convert an HTML Document - Part 2

    12:08

    Regular Expressions: Using Perl to Convert HTML to Latex

    1:00:00 Hands-On Lab
  • Chapter 10 2 Lessons JavaScript 1:19:30

    Password Validation with Javascript

    19:30

    Regular Expressions: Form Validation

    1:00:00 Hands-On Lab
  • Chapter 11 1 Lesson Final Steps 1:39

    Final Thoughts and Next Steps

    1:39

What are Hands-on Labs

What's the difference between theoretical knowledge and real skills? Practical real-world experience. That's where Hands-on Labs come in! Hands-on Labs are guided, interactive experiences that help you learn and practice real-world scenarios in real cloud environments. Hands-on Labs are seamlessly integrated in courses, so you can learn by doing.

Get Started
Who’s going to be learning?
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!