I have a file and I need to search for a string of text and replace that line with another line of text. What's the best way to do this?

Thanks