Hi there,
if you want to highlight text in HTML pages, take a look here:
http://www.kryogenix.org/code/browser/searchhi/
It demonstrates you how to highlight text that users searched for in Google. It would be relatively easy to adapt the script to your situation.
Highlighting text in pdf, doc and xls files may be really tricky. I can't think of a way to do that without effecting the original document and even then I think it's going to be very difficult if not impossible.
Maybe you can display a copy of the original document in HTML with the words highlighted?
Does this help?
Would you mind not posting your question twice on this forum? Your message will be read anyway.
Cheers,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.