| mikezilla.com

Highlighting Words in an HTML Page using Regular Expressions

[ie, gecko]

Parsing a body of HTML highlighting specified text and removing the highlight.

More explanation of this technique can be found in my complete article Processing HTML using Regular Expressions on www.notestips.com.

-- example text --

This is some example text that also contains HTML and a link and another link. In this example text is highlighed using regular expressions and JavaScript.

-- example text --

Highlight words: (Separate words and phrases with a pipe "|")