Lookbehind assertion: (?<=...), (?<!...)

Read More at MDN DocsView Spec

Safe to Use

Lookbehind assertion: (?<=...), (?<!...) is mostly safe to use.

It’s supported by 84% of global browsers.

Browsers

ChromeOct 17, 2017v62.0.0
26%99%
There are no users of Chrome running a supported version.
SafariMar 27, 2023v16.4.0
3%48%
There are no users of Safari running a supported version.
EdgeJan 15, 2020v79.0.0
5%100%
There are no users of Edge running a supported version.
FirefoxJun 30, 2020v78.0.0
2%98%
There are no users of Firefox running a supported version.

Servers

Node.jsMar 6, 2018v8.10.0
Node.js supports this feature.
DenoMay 4, 2020v1.0.0
Deno supports this feature.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Oct 17, 2017 v62.0.0
26%99%
There are no users of Chrome running a supported version.
Oct 17, 2017 – Latest
v62.0.0+
26%99%

Full Support

Chrome Android
Oct 24, 2017 v62.0.0
36%100%
100% of Chrome Android users are running a supported version.
Oct 24, 2017 – Latest
v62.0.0+
36%100%

Full Support

Deno
May 4, 2020 v1.0.0
Deno supports this feature.
May 4, 2020 – Latest
v1.0.0+

Full Support

Edge
Jan 15, 2020 v79.0.0
5%100%
There are no users of Edge running a supported version.
Jan 15, 2020 – Latest
v79.0.0+
5%100%

Full Support

Firefox
Jun 30, 2020 v78.0.0
2%98%
There are no users of Firefox running a supported version.
Jun 30, 2020 – Latest
v78.0.0+
2%98%

Full Support

Firefox for Android
Jul 28, 2020 v79.0.0
Firefox for Android supports this feature.
Jul 28, 2020 – Latest
v79.0.0+

Full Support

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

Node.js
Mar 6, 2018 v8.10.0
Node.js supports this feature.
Mar 6, 2018 – Latest
v8.10.0+

Full Support

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Opera
Nov 8, 2017 v49.0.0
1%98%
There are no users of Opera running a supported version.
Nov 8, 2017 – Latest
v49.0.0+
1%98%

Full Support

Opera Android
May 14, 2018 v46.0.0
Opera Android supports this feature.
May 14, 2018 – Latest
v46.0.0+

Full Support

Safari
Mar 27, 2023 v16.4.0
3%48%
There are no users of Safari running a supported version.
Mar 27, 2023 – Latest
v16.4.0+
3%48%

Full Support

Safari on iOS
Mar 27, 2023 v16.4.0
10%58%
There are no users of Safari on iOS running a supported version.
Mar 27, 2023 – Latest
v16.4.0+
10%58%

Full Support

Samsung Internet
Jul 18, 2018 v8.0.0
2%93%
There are no users of Samsung Internet running a supported version.
Jul 18, 2018 – Latest
v8.0.0+
2%93%

Full Support

WebView Android
Oct 24, 2017 v62.0.0
WebView Android supports this feature.
Oct 24, 2017 – Latest
v62.0.0+

Full Support

See Also

Contribute