M-% (Replace) C-q (start literal key entry) C-m (indicates to literally search for "^M") <Enter key> (confirm the query replace) s<Space Bar> <Enter key> (confirm the query replace) (now you can enter: replace this one, go on to next SPC replace this one, don't move , skip to next without replacing DEL replace all remaining matches ! back up to the previous match ^ exit query-replace ESC enter recursive edit (C-M-c to exit) C-r depending on how you want to replace :) ) |