Web features explorer

String matchAll()

Widely available
Tags: js Groups: Strings Primitive types JavaScript

The matchAll() method of strings matches a string against a regular expression and returns an iterator of all results, including capturing groups.

Compatibility

MDN docs

Specifications

BCD data