/ Published in: Other

Search and replacing all instances of some text within Vim
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
:%s/searchterm/replaceterm/g eg. Search for the word "today" within the whole file and replace all occurrences of it with "tomorrow". :%s/today/tomorrow/g
Comments
