replaceAll method

String replaceAll(
  1. Pattern from,
  2. String replace
)

Replaces all substrings that match from with replace.

Implementation

String replaceAll(Pattern from, String replace) =>
    value.replaceAll(from, replace);