title: Java string - get everything between (but not including) two regular expressions?
body: <p>In Java, is there a simple way to extract a substring by specifying the regular expression delimiters on either side, without including the delimiters in the final substring?</p>
  
  <p>For example, if I have a string like this:</p>
  
  <pre><code>&lt;row&gt;&lt;column&gt;Header text&lt;/column&gt;&lt;/row&gt;
  </code></pre>
  
  <p>what is the easiest way to extract the substring:</p>
  
  <pre><code>Header text
  </code></pre>
  
  <p>Please note that the substring may contain line breaks...</p>
  
  <p>thanks!</p>