is there a function that can search for specific words in a text file (kind of like grep) and change them? say in my text file there's a line such as: [myvalue]=X and my function would search the line [myvalue] and replace X by Y. any suggestions? thanx in advance