Replaces matches for pattern in string with replacement. Example: "hello" -> "hello" -> "hello"
String toReplace(RegExp pattern, String replacement) => replace(this, pattern, replacement);