I want to parse all the CDATA on a page, match it against a regular expression, then if found wrap matches in a <span>. The implementation is obvious: I want to highlight search text on the page.
For several reasons this has to be a client-side solution, even though doing it server-side would have been easier. :S
Can anyone give me a nudge in the right direction?