Are there any?
thx
You could do: $string = "string to replace"; $document = ereg_replace("($string)", "<font background-color="yellow">\1</font>", $document);
Read stuff on Regular Expressions for more info on this.
Check out hilight_file and hilight_string in the PHP-manual 🙂