I am looking for a way to do a find and replace on a text string, in a document that I am writing to.
For example, I have a form that submits data to the database, when it does, it also writes the data to a file. I want to make it so that after it writes the data to the file, and the file is still open, it can do a find and replace on the text it just wrote to that same file.
Let me know of any ideas you may have. Thanks.