.replaceAll()
Term side of the Card
Topic: String
Unit title: .replaceAll()
Categories: Method
Explanation side of the Card
Explanation: The method that replaces all occurrences of a substring or matches of a regular expression with a specified replacement string. It's similar to `.replace()`, but doesn't require the global `g` flag in the regular expression.
Browser compatibility:
- The chrome browser supports this feature starting from version 85
- The edge browser supports this feature starting from version 85
- The firefox browser supports this feature starting from version 77
- The safari browser supports this feature starting from version 13.1
Availability: