The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Javascript Regular Expressions: Find a String that Precedes Another String

Javascript Regular Expressions: Find a String that Precedes Another String

1:27
Lookaheads allow us to match a pattern followed by another pattern without including the second pattern in our match.
Watch this lesson now
Avatar
egghead.io

Lookaheads allow us to match a pattern followed by another pattern without including the second pattern in our match.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?