In unix, while using VIM and the substitue command I am unable to replace the value to a string containing special character /
:%s/var1/"ab1/ab2/ab3"/g
I need to replace the entire file containing var1
with ab1/ab2/ab3
Output in vim I see: Trailing characters