vim how to add backslash to a string without escaping code example
Example 1: search and replace vim forward slash
/(<- the prompt)\/\*
Example 2: search and replace vim forward slash
:%s/<dog\/>/<cat\\>
/(<- the prompt)\/\*
:%s/<dog\/>/<cat\\>