thet, #vim tip of the day: to replace text wrapping around some other, you can use regex groups and backreferences like this:
:%s/some(.*)text/other\1string/gc
For example:
Screencast of a regex replacement in vim with groups and backreferences.
Add comment