Devtools.supstudio.in

Tools/Regex

Lookbehind

What this is

Lookbehind asserts what preceded the current position. JS allows variable-length lookbehind, unlike old PCRE. (?<=\$)\d+ matches digits after a dollar without capturing $.

FAQ

Safari?
Lookbehind has been in Safari since 16.4. This site targets current browsers.

Related