How do you replace the first occurrence of a word with another word, but not any of the following occurrences?
Thanks!
Nevermind, I got it!
preg_replace('word_to_replace_once', 'replacing_word', $string, 1);