regular expression change on next lines vi Doesn't even need a regexp. Just find and substitute.
Replace all occurrences of "link" with "visited" between lines 221 and 225:
:221,225s/link/visited/g