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