I am trying to find a way to search a filename.rc file for a particular string. For now lets just say I am searching for the string PARTYHOST. After finding PARTYHOST in the file I would like to replace anything after it(so 192.168.0.1) with a new string which I have stored. Then it should continue on looking for other instances of this and do the same thing until the end of file. Anyone have some suggestions or example code to solve this?