Query Replace

- -
M-% Interactively replace a text string
M-x regexp Using regular expressions
SPC / y Replace this one, go on to next
, Replace this one, don’t move
DEL / n Skip to next without replacing
! Replace all remaining matches
^ Back up to the previous match
RET Exit query-replace
C-r Enter recursive edit (C-M-c to exit)
Comments