title: jSoup to get text from <td><span> class
body: <p>I have a part of html file with below format</p>
  
  <pre><code>&lt;td class="yfnc_tabledata1"&gt;20,000&lt;/td&gt;
  &lt;td class="yfnc_tabledata1"&gt;19,500&lt;/td&gt;
  &lt;td class="yfnc_tabledata1"&gt;&lt;span&gt;&lt;span&gt;19,000&lt;/span&gt;&lt;/span&gt; - &lt;span&gt;&lt;span&gt;19,600&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;
  &lt;td class="yfnc_tabledata1"&gt;&lt;span&gt;18,000&lt;/span&gt; - &lt;span&gt;26,000&lt;/span&gt;&lt;/td&gt;
  </code></pre>
  
  <p>there are other span classes. But I would like to get below 3 value only, which will be inserted into the database.</p>
  
  <p>19,500</p>
  
  <p>19,000</p>
  
  <p>19,600</p>
  
  <p>I have tried:</p>
  
  <pre><code>Elements elements = doc.select(".yfnc_tabledata1");
              for(Element e : elements) {
                  System.out.println(e.text());                                           
              }
  </code></pre>
  
  <p>and even i tried</p>
  
  <pre><code>doc.select(".yfnc_tabledata1").select("span");
  </code></pre>
  
  <p>still doesn't work, please kindly help.</p>