Introduction
Lookahead and lookbehind help you find text patterns that come before or after certain parts without including those parts in the result.
You want to find words that come before a specific symbol but don't want to include the symbol.
You need to check if a number is followed by a unit like 'kg' without selecting the unit.
You want to find a word only if it is not preceded by another word.
You want to validate a password that must have a digit somewhere but don't want to capture the digit itself.