Implemented the regex_replace modifier