BASELINE NowYouCanUse.com
Widely Available Strings
id: string-matchall

String matchAll()

The matchAll() method of strings matches a string against a regular expression and returns an iterator of all results, including capturing groups.
Baseline Status: Achieved Widely Available on Jul 15, 2022 (Cross-browser Newly Available since Jan 15, 2020).
Desktop Browser Engine Support
Google Chrome
73
Supported
Mozilla Firefox
67
Supported
Apple Safari
13
Supported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
73
Firefox Android
67
Safari iOS
13
Specifications and References