Learn Regular Expressions

Course

Master the power of regular expressions with this short, six-part course.

Regex, or regular expressions, use a defined syntax to describe a search pattern. The concept came out of the field of mathematics and theoretical computer science over 50 years ago but today has a wide variety of practical applications. Many tools and programming languages make use of regular expressions. For example, Linux provides various regex compatible utilities such as sed (the stream editor) and grep. We can use regular expressions for searching across data (such as trying to find a filename that matches a specific pattern) validating strings (such as confirming an email address or date is in the correct format) and much much more.

This course will take you from being a total beginner through the basics of matching and then teach you the full power of the language.

The course includes many practical regex examples along the way to help you learn. There are lots of tools online (and offline) that you can use to experiment and try the examples. For example, RegExr evaluates regex patterns and will also breakdown and explain the regular expressions that you create.

You will learn

Topics covered in this six-part course include:


Course Content

This course is made up of the following lessons.

Basic Regex Character Matching

lesson

View

Custom Sets in Regular Expressions

lesson

View

Matching a Certain Number of Repetitions with Regex

lesson

View

Regex Anchors

lesson

View

Regex Subexpressions

lesson

View

What are Regular Expressions?

lesson

View