Skip to content

re::replace ​

replace(value: String, pattern: Regex, replacement: String) ​

ParameterTypeDescription
valueStringThe entire string
patternRegexThe pattern to replace
replacementStringThe replacement

Returns ​

(String)