I am getting the content of the body like so, document.body.innerHTML and I need to find anywhere where the word lol appears as a whole word and not as part of another word. For example:
find lol in: <p>lol</p>
find LOL in: <p>LOL </p>
find lol in: <p> lol.</p>
find lol in: <p> lol </P>
do not find lol in: <p>lolaso</p>
It is ok if the search finds lol in: <a href="http://lol.com">
as I already have a filter for that.