Just wondering if anyone could give me info on how to search a text file so i can replace the text if its found.
Cheers
Neofox
for search, you can use preg_grep() function, it will return array entries that match the pattern ;
for replace, you can use preg_replace() function, it will perform a regular expression search and replace .