---
id: "string-replaceall"
kind: "web-feature"
canonical: "https://timetostable.com/feature/string-replaceall"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# String replaceAll() (`string-replaceall`)

The replaceAll() method of strings returns a new string where all matches of a pattern (a string or regular expression) have been substituted with a replacement string.

- **Group**: Strings
- **Baseline**: Widely Available
- **Newly Available Date**: 2020-08-27
- **Widely Available Date**: 2023-02-27
- **Specification**: https://tc39.es/ecma262/multipage/text-processing.html#sec-string-objects
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 13.1 | 2020-03-24 |
| Safari on iOS | 13.4 | 2020-03-24 |
| Firefox | 77 | 2020-06-02 |
| Firefox for Android | 79 | 2020-07-28 |
| Chrome | 85 | 2020-08-25 |
| Chrome Android | 85 | 2020-08-25 |
| Edge | 85 | 2020-08-27 |

