Find and replace globally in a file

posted Sep 11, 2010, 6:25 AM by Sachchida Ojha   [ updated Sep 11, 2010, 6:27 AM ]
:.,$ s/<oldval>/<newval>/g
or
:%s/
<oldval>/<newval>/g
Comments