in reply to Searching and Replacing

You will want to look at perldoc perlman:perlop for s/PATTERN/REPLACEMENT/ and perldoc perlman:perlre for what PATTERN can be.