jQuery highlightRegex Demonstration

Static

This is some text that will be highlighted with the regex
click to highlight

Dynamic

Type in the input field below to highlight anything in this outlined box.

(case insensitive and global)
Type Here: //ig