replaceAllWithOriginalCase method

String replaceAllWithOriginalCase(
  1. Pattern pattern,
  2. String replace
)

Replaces all occurrences of the given pattern with the specified replacement and returns the result as a String.

Implementation

String replaceAllWithOriginalCase(Pattern pattern, String replace) {
  return replaceAll(pattern, replace);
}