Archive: Search and Replace macro for files


Search and Replace macro for files
Is there a macro that would allow me to search through a file and replace a specific string with another?
I assumed that would be a common problem, but I don't seem to be able to find a macro for it.

Or is it so easy that no macro is needed? If so could someone give me a hint how it is done?


o_O

http://www.google.com/search?&q=site...ch+and+replace

Really, the difficult part is that there are so many to choose from, that it can be difficult to pick the one right for you. It's like all the .NET version retrieval macros.. there's half a dozen at least (and none seem to actually get it right - d'oh).


Use ReplaceInFile, in the wiki, http://nsis.sourceforge.net/ReplaceInFile