Web features explorer

String replaceAll()

Widely available
Tags: js Groups: Strings Primitive types JavaScript

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.

Compatibility

Specifications

BCD data