title: Extract text with java
body: <p>If I have the string below, how can I extract the EDITORS PREFACE text with java? Thanks.</p>
  
  <pre><code>&lt;div class='chapter'&gt;&lt;a href='page.php?page=1&amp;filename=SomeFile&amp;chapter=EDITORS PREFACE'&gt;EDITORS PREFACE&lt;/a&gt;&lt;/div&gt; 
  </code></pre>