Length: 00:07:41

Lesson Summary:

With regular expressions, we don't just have to limit ourselves to crafting expressions that capture everything in the expression. Instead, we can create groups within our expression that work similarly to boundaries, called lookarounds. In this lesson, we start with lookaheads, which let us write a subexpression then ensure our regex is either followed by that expression (called a positive lookahead) or NOT followed by that expression (called a negative lookahead), allowing for more fine-tuned matching and capturing.

Get the lesson files here!:

This lesson is only available to Linux Academy members.

Sign Up To View This Lesson
Or Log In

Looking For Team Training?

Learn More