Hi all,

I am trying to find a way to highlight a word in a string e.g.

1. Test string

2. Test string

In 1. the "string" in the "href" must not be highlighted except maybe the "string" in the innerText, but in 2. "string" has to be highlighted.

Is there a regular expression or something I can use?

Thanks in advance,

Lee