re_replace [function]
re_replace( string str, string pattern, string replacement )
find and replace all occurrences of pattern
in string str
with the replacement
string
- replacement string can contain backreferences in the forms "$[0-9]" or "\[0-9]" (in a string constant, a double backslash is required due to rules in SGScript)
- there can be up to 10 backreferences, 0-9, 0 being the whole match