vim forward slash g substitute 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\\>