Created
August 14, 2015 16:10
-
-
Save damaya/86d8de23f29f5f942da2 to your computer and use it in GitHub Desktop.
Escape slash in vim replace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :%s/\//-/g |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example, to search dates 08/04/15 and replace with 08-04-15, use :%s///-/g