I have used the FileWriteLine() to append to text files.

I would like to now Find and Replace Text in Files.

Which functions would be the best to use?

I know that I can use a recorder with Notepad, but I prefer to use built in function scripts.