String matchAll()
Widely available since 2022-07-15
The matchAll()
method of strings matches a string against a regular expression and returns an iterator of all results, including capturing groups.
Learn more
Specifications
- ECMAScript® 2026 Language Specification (#sec-string-objects), from TC39 (Ecma International).
Browser support
- Chrome 73 Released on 2019-03-12
- Chrome Android 73 Released on 2019-03-12
- Edge 79 Released on 2020-01-15
- Firefox 67 Released on 2019-05-21
- Firefox for Android 67 Released on 2019-05-21
- Safari 13 Released on 2019-09-19
- Safari on iOS 13 Released on 2019-09-19
Developer signals
- State of JS 2024: features/string_features question
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist