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) {
  return value.replaceAll(from, replace);
}