M-x replace-string
C-q C-j
RET
RET
The trick is to quote the C-j
with C-q
, but otherwise replacing newlines is like replacing anything else.
M-x replace-string
C-q C-j
RET
RET
The trick is to quote the C-j
with C-q
, but otherwise replacing newlines is like replacing anything else.