Vim:
Find each occurrence of 'foo' (in all lines), and replace it with 'bar':
:%s/foo/bar/g
:set number
&
:set nonumber
Convert all text to: Lower —>
ggVGu
Upper —>
ggVGU