vim search and replace with slashses code example
Example 1: search and replace vim forward slash
:%s/<dog\/>/<cat\\>
Example 2: search and replace vim forward slash
/(<- the prompt)\/\*
:%s/<dog\/>/<cat\\>
/(<- the prompt)\/\*