Back Button Tooling
Understand Regular Expressions

Understand Regular Expressions

Does the thought of a confusing regular expression send chills down your back? Don't worry; you're in the majority. But, luckily, the truth is that the trick to understanding regular expressions simply boils down to basic memorization. It's not that tough, once you know what you're looking for.

Beginner
6 episodes
55m
6
Latest Episode in This Series

Added 4 years ago

PHP's Regular Expressions Support

So far, we've mostly been focusing on the regular expression syntax. But, now, let's switch over to...

Watch
Understand Regular Expressions

Understand Regular Expressions

Does the thought of a confusing regular expression send chills down your back? Don't worry; you're in the majority. But, luckily, the truth is that the trick to understanding regular expressions simply boils down to basic memorization. It's not that tough, once you know what you're looking for.

Begin
6
Latest Episode in This Series

Added 4 years ago

PHP's Regular Expressions Support

So far, we've mostly been focusing on the regular expression syntax. But, now, let's switch over to...
Watch

Your Teacher | Jeffrey Way

https://laracasts.s3.amazonaws.com/avatars/jeffrey-avatar.jpg's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.
    1. EPISODE 1

      Run Time 13:17

      Free

      To begin this series, let's zoom out for a few moments, and review what regular expressions look like, how we can write our own, and what that might look like in our PHP code.

    2. EPISODE 2

      Run Time 9:09

      Let's slow down a bit, and focus on a silly example, that will allow us to review such topics as alternation, optional sequences, and non-capturing groups.

    3. EPISODE 3

      Run Time 10:05

      Character sets allow us to match any one token, out of a group of characters. As you'll find, this can be incredibly powerful. Let me show you.

    4. EPISODE 4

      Run Time 6:07

      Using a practical, real world example, let's review regular expression greediness in this episode.

    5. EPISODE 5

      Run Time 8:02

      Often, you'll find yourself in the position of needing to match a set of characters only if they are proceeded or preceded by another sequence. When writing regular expressions, we can use lookaheads and lookbehinds to allow for this.

    6. EPISODE 6

      Run Time 8:28

      So far, we've mostly been focusing on the regular expression syntax. But, now, let's switch over to PHP and learn about the various regex-specific functions that are available to us.