kotlin.text.Regex.replace

replace

fun replace(input: CharSequence, replacement: String): String

Replaces all occurrences of this regular expression in the specified input string with specified replacement expression.

Parameters

replacement - A replacement