Replaces matches for pattern in string with replacement.
String replace(String string, Pattern pattern, String replacement) { return string.replaceAll(pattern, replacement); }