There's a detail discussed of this in the FAQ:
It's not as easy as you might think.
From: Frank Naude [mailto:firstname.lastname@example.org]
Sent: Monday, December 15, 2003 10:26 AM
To: Multiple recipients of list
Subject: [SWISH-E] Highlight seach results in source documents
Does anybody have a script to highlight/colorize search phrases in HTML
documents? HTML tags should be left intact. The script should be similar
to Google's cached pages functionality.
Any ideas on how to write such a script (in C or Perl) would also be
Received on Mon Dec 15 16:31:51 2003