Find and replace whole words in vim

Viewed 27279

To find and replace all instances of a word in vim, I use

%s/word/newword/g

How do I change this so that it only finds instances of "word" that are whole words?

3 Answers
Related