Added regexReplace()