Archive: Script to find a string in a textfile


Script to find a string in a textfile
Hi,

I am looking for a script that replaces every occurence of a string with another one in a textfile.
Is there a script somewhere that lets me do this as a macro or a function?

The string is in a text, it's not at the beginning of a line, and it's contained within and doesn't equal the contents of that line.

e.g.

This is a example line of what could be on a line in my textfile.

Becomes:

This is a example string of what could be on a string in my textfile.

I don't care if it also changes the occurences within words as I will make the replaceble string something like "FGTYHHFDFG87452YGHGFGCVGVGGF7YHTTDTR"

thx for helping,
Nirious


NSIS Archive > Text file manipulation

-Stu