Excluding Patterns with Negative Lookahead
Negative Lookahead matches a pattern only if it is not followed by another specific pattern. The syntax is (?!pattern).
Learning Objectives
Lesson Outline
Negative Lookahead matches a pattern only if it is not followed by another specific pattern. The syntax is (?!pattern).