]*$/",$text ) ) { # is the word in a html tag ? $text .= $replace; } else { $text .="". $replace. ""; } } } ?>