Find and replacing a word in a textfile
Posted: Wed Mar 17, 2004 11:23 am
Hi everybody,
I don't have a clue where to start on this but all I want is a simple script that opens a textfile and searches the content for a word like bold and replaces it with <b> then it writes the new word to the textfile.
I'm very new to PHP and I sure could use some help.
Many thanks
I don't have a clue where to start on this but all I want is a simple script that opens a textfile and searches the content for a word like bold and replaces it with <b> then it writes the new word to the textfile.
I'm very new to PHP and I sure could use some help.
Many thanks