Login
From:
MDN Web Docs
(Uncensored)
subscribe
Lookahead assertion: (?=...), (?!...) - JavaScript | MDN
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookahead_assertion
links
backlinks
A lookahead assertion "looks ahead": it attempts to match the subsequent input with the given pattern, but it does not consume any of the input — if the match is successful, the current position in the input stays the same.
Roast topics
Find topics
Find it!