title: Get string between two strings?
body: <p>I have a string:  </p>
  
  <pre><code>&lt;products type="array"&gt;
  &lt;product&gt;&lt;brand&gt;Rho2&lt;/brand&gt;
  &lt;created-at type="datetime"&gt;2011-11-03T21:29:46Z&lt;/created-at&gt;&lt;id type="integer"&gt;78013&lt;/id&gt;&lt;name&gt;Test2&lt;/name&gt;
  &lt;price nil="true"/&gt;
  &lt;quantity nil="true"/&gt;
  &lt;sku nil="true"/&gt;
  &lt;updated-at type="datetime"&gt;2011-11-03T21:29:46Z&lt;/updated-at&gt;
  &lt;/product&gt;
  &lt;product&gt;
  &lt;brand&gt;Apple&lt;/brand&gt;
  &lt;created-at type="datetime"&gt;2011-10-26T21:26:59Z&lt;/created-at&gt;
  &lt;id type="integer"&gt;77678&lt;/id&gt;
  &lt;name&gt;iPhone&lt;/name&gt;
  &lt;price&gt;$199.99&lt;/price&gt;
  &lt;quantity&gt;5&lt;/quantity&gt;
  &lt;sku&gt;1234&lt;/sku&gt;
  &lt;updated-at type="datetime"&gt;2011-10-26T21:27:00Z&lt;/updated-at&gt;
  &lt;/product&gt;  
  </code></pre>
  
  <p>I want to get the text between <code>&lt;brand&gt;</code> and <code>&lt;/brand&gt;</code>. </p>
  
  <p>I am trying to parse this XML, collecting data between tags.</p>