title: Selectively getting text from <div>
body: <pre><code>&lt;div class="myDiv"&gt;
      &lt;p&gt;I need get&lt;strong&gt;this&lt;/strong&gt;
          &lt;a title="And this" href="#"&gt;but not this&lt;/a&gt;
      &lt;/p&gt;
      &lt;p&gt;And also&lt;strong&gt;This&lt;/strong&gt;
          &lt;a title="And this" href="#"&gt;but not this&lt;/a&gt;
      &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>How do I grab everything in p tag except for the text in nested a tag. And also I need to get values for "title" attirbute for tag a?</p>