I am trying to replace a character - say ; - with a new line using replace-string and/or replace-regexp in Emacs.
;
replace-string
replace-regexp
I have tried
Switch to text-mode
M-x text-mode
Highlight block to indent
Indent
C+M \
Switch back to whatever mode..