affordableCebu
Classified Ads
Tips & Guides
Login
Register
Search
Ask Question
Post a Free Ad
Home
»
Questions
»
Computers
[
Ask a new question
]
Search and replace /'s in VI
Search and replace /'s in VI
I was wondering how I would search and replace all /'s with -'s in vi.
Asked by:
Guest
| Views: 292
Total answers/comments:
2
Comments display order:
By default
New comments first
Old comments first
Guest
[
Entry
]
"Try escaping your /s, with a \.
\/. yes, it looks awful. That's how I remember it :P"
Guest
[
Entry
]
"replacing separator is not always /.
Try
%s;hoge/hoge;fuga/fuga;g
in the text of ""http://hoge/hoge"""