We have HTML String we need to search first occurrence and highlight that word in the HTML Text
Let us say we need to search "American Government" which can be in either of any format
Eg.
American Government
<span>American</Span> <Span>Government</span>
<span>American Government</span>
<span>American </span> Government
We need REGEX which will search HTML to find out such combinations which will give us above all the Match in REGEX.
Without removing TAG still we able to search key word and add some additional Tag with this matches.
We need REGEX for how to get such kind of combination words from HTML.
`)? – NullUserException Sep 05 '11 at 20:03