I am trying to replace multiple forward slashes “//” with a single slash “/”.
How would you do that?
Also, How would you replace “asd/qwe/zxc” with “fgh/vbn”?
I was able to do this half way using below. But how do I use forward slash in the search string or the replace string.
:%s/asd.qwe.zxc/fgh/g
Either escape it or use different delimiters.
I prefer the latter.
Missed the second part:
You can pick any delimiter that you want in the same manner that you could in
edorsed.