regex.guide
regex.guide copied to clipboard
Add the “lookahead” match
Do you want to request a feature or report a bug? Feature.
What is the expected behavior?
As a user, I want to be able to use the “lookahead”, written x(?=y), to match 'x' only if 'x' is followed by 'y'. More info at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions#special-lookahead.