I am trying to replace a character - say
; - with a new line using
replace-regexp in Emacs.
I have tried the following commands:
This will replace
;with 2 characters:
This results in the following error (shown in the minibuffer):
Invalid use of `' in replacement text.
What's wrong with using
replace-string for this task? Is there any other way to do it?