Lookbehind in JS regular expressions

- OTHER

Zero-width assertion that ensures a pattern is preceded by another pattern in a JavaScript regular expression.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 18: Not supported
  2. 79 - 86: Supported
  3. 87: Supported

Firefox

  1. 2 - 77: Not supported
  2. 78 - 82: Supported
  3. 83: Supported
  4. 84 - 85: Supported

Chrome

  1. 4 - 61: Not supported
  2. 62 - 86: Supported
  3. 87: Supported
  4. 88 - 90: Supported

Safari

  1. 3.1 - 13.1: Not supported
  2. 14: Not supported
  3. TP: Not supported

Opera

  1. 9 - 48: Not supported
  2. 49 - 71: Supported
  3. 72: Supported

iOS Safari

  1. 3.2 - 13.7: Not supported
  2. 14: Not supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 81: Supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 59: Supported

Chrome for Android

  1. 87: Supported

Firefox for Android

  1. 83: Supported

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4 - 7.4: Not supported
  2. 8.2 - 12.0: Supported
  3. 13.0: Supported

QQ Browser

  1. 10.4: Supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Not supported
Resources:
Blog post on lookbehind assertions
Firefox implementation bug
MDN: Regular Expressions Assertions