Replace character with newline in Emacs

I keep forgetting about newline character in Emacs. Whenever I want to replace a character with newline, I always google. So I decided to blog about it so as to not google each time.

C-q C-j is newline character in Emacs.

To replace a character with it,

M-x replace-string RET;
<string to replace> RET;
C-q C-j RET;