map-query-replace-regexp

M-x map-query-replace-regexp - use a functional Mapping style to make replacements