How do I do a Find and Replace within a selection in vi?
vi
Some more help here Search and replace in a visual selection