regex_replace

Function

ArgDescriptionType
sourceThe source string to replace.string (required)
replaceThe substitute string.string
replace_lambdaOptionally the replacement can be a lambda.string
reA regex to applystring (required)

Description

Search and replace a string with a regexp. Note you can use $1 to replace the capture string.