Possible Duplicate:
Find text string in jQuery and make it bold
Suppose if i have a html document as this
<div>
hi this is one line<br>
<p>This is second line</p>
<p>This 'word' is within quote</p>
<p>Another 'lorem ipsum' in quote</p>
</div>
How do i apply different CSS only to the word 'line' which occurs many times in my document and also different CSS to all words that appear inside quotes using jQuery. some kind of pattern matching and applying css
any script available to do so ?