Method Regexp.SimpleRegexp()->replace() Method replace string replace(string in, string|function(string:string) transform)