Regular expressions provide a flexible way of searching for searching using many different tools and programming languages.

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. Regular expression engines are found in multiple programming languages and many tools. For example, Unix and Linux provide various utilities which can understand the POSIX regex syntax including 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 certain pattern) validating strings (such as confirming an email address 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. You will learn regex character classes, quantifiers, grouping and more so that you are able to use the power of regular expressions for whatever you need!

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 including RegExr which will also breakdown and explain the regular expressions that you create.


Regular expressions are patterns specified with a defined syntax which are used to search text for specific sequences of characters with many practical applications.
Learn how to match standard character classes with regular expressions.
Learn to define your own sets of characters to be matched with a regular expression.
Use regular expressions to match on a certain number (or range) of repetions of a certain character or class of characters.
Subexpressions let us split a regular expression up into smaller groups which we can use for many things!
We can specify where we want to match with a regular expression using word and string boundaries.