The expression evaluating to the string to transform
The expression evaluating to the regular-expression pattern, typically a string
The expression evaluating to the replacement template
Optionalflags: stringThe expression evaluating to the match flags, or omitted for none
The replace() call
Generates a SPARQL
replace()call substituting pattern matches.Replaces each match of the regular expression
patternintextwithreplacement; withflags, applies the match modifiers, such as"i"for case-insensitivity.