title: How to get last word of an HTML element
body: <p>I have an Element :</p>
  
  <pre><code> &lt;p align="center"&gt;&lt;font class="bodytext"&gt;&lt;strong&gt;&lt;u&gt;Address&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt; 123 Upper East , text text2 s (s)465561 &lt;/font&gt;&lt;/p&gt;
  </code></pre>
  
  <p>or it could be a little bit different in this format:</p>
  
  <pre><code> &lt;p align="center"&gt;&lt;font class="bodytext"&gt;&lt;strong&gt;&lt;u&gt;Address&lt;/u&gt;&lt;/strong&gt;&lt;br /&gt; 123 Upper East , text text2 s 465561 &lt;/font&gt;&lt;/p&gt;
  </code></pre>
  
  <p>And what I need is the last number (only the number:</p>
  
  <pre><code>465561
  </code></pre>
  
  <p>What is the best way to do that ? I'm thinking of using some element extraction or regexp, but couldn't figure out.</p>
  
  <pre><code>getElementsByTag("font");
  </code></pre>
  
  <p>and </p>
  
  <pre><code>Pattern titleFinder = Pattern.compile("&lt;a[^&gt;]*&gt;(.*?)&lt;/a&gt;", Pattern.DOTALL | Pattern.CASE_INSENSITIVE);
  Matcher regexMatcher = titleFinder.matcher(subjectString);
  </code></pre>
  
  <p>do not really work for me.</p>