I use vim to process documents. How do I want to replace a part of a word?
For example, for example
This is a word.
I hope to putword.Word in is replaced with sentence and retained.How?
补充
Perhaps it is not clear. I mean, replace word in word. but word alone or worder will not be replaced.
:s/word\./sentence\./g