You can use [sed](http://gnuwin32.sourceforge.net/packages.html):

- cross-platform, gratis, open-source, CLI
-  can [find and replace](http://unix.stackexchange.com/q/159367/16704)