kotlin.text.Regex.replaceFirst

replaceFirst

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

Replaces the first occurrence of this regular expression in the specified input string with specified replacement expression.

Parameters

replac