You can use `search-forward' (which searches for string, not for regexp),
as it is suggested in documentation for `replace-string':
(while (search-forward FROM-STRING nil t)
(replace-match TO-STRING nil t))
Then with the above strings it should replace one backslash with two.
But if you still need to write a regexp, it seems that you need to
double the amount of backslashes. To include a backslash in a regexp you
need to prefix it with another backslash and each backslash should be
prefixed with another one when written in a lisp program (so, 4
backslashes in a program for a single one in regexp).
--
Filipp Gunbin