rrep is a pattern replacement utility. It comes with support for regular expressions, recursive directory processing, backup, simulation and prompting. The replacement string may contain special characters to refer to portions of the matched pattern.