How can get Full string from container?
<p>I want to search specific string from div and find out whole(full) string</p>

<p>I.e :</p>

<pre><code>  &lt;div id='MSO_ContentTable'&gt; 

      [Rotator(Cat=Marketing,Top=5,AutoRotate=true)]

      [Rotator(sg=dummy,Bottom=5,Autosb=true)] 

  blah blah blah .......

  &lt;/div&gt;
</code></pre>

<p>This <code>div</code> contains many data but I want to just find full string  only using <code>Rotator</code> character in Div content.</p>

<pre><code>    $("div[id*='MSO_ContentTable']:contains('[Rotator')").each(function()
    {
       // find out div but not getting full string.
       //.In div also contains another html some thing like
       //&lt;table&gt;,&lt;div&gt; etc. i want to just find string which contain(Rotator)

    });
</code></pre>
