title: Using beautifulSoup, trying to get all table rows that have a string in them
body: <p>I need to get all table rows on a page that contain a specific string 'abc123123' in them.</p>
  
  <p>The string is inside a TD, but I need the entire TR if it contains the 'abc123123' anywhere inside.</p>
  
  <p>I tried this:</p>
  
  <pre><code>userrows = s.findAll('tr', contents = re.compile('abc123123'))
  </code></pre>
  
  <p>I'm not sure if contents is the write property.</p>
  
  <p>My html looks something like:</p>
  
  <pre><code>&lt;tr&gt;
     &lt;td&gt;
     &lt;/td&gt;
     &lt;td&gt;&lt;table&gt;.... abc123123 &lt;/table&gt;&lt;tr&gt;
     ..
  &lt;/tr&gt;
  &lt;tr&gt;
  ..
  &lt;/tr&gt;
  ..
  ..
  </code></pre>