Use the function below to remove any words you wish from a string. [$txt] is the string you want to remove words from and [$word] is the word you want removed. If you want multiple words remove, create a loop removing each word, one at a time.