title: Preg match text in php between html tags
body: <p>Hello I would like to use preg_match in PHP to parse the "Desired text" out of the following from a html document</p>
  
  <pre><code>&lt;p class="review"&gt; Desired text &lt;/p&gt;
  </code></pre>
  
  <p>Ordinarily I would use simple_html_dom for such things but on this occasion it cannot be used (the above element doesn't appear in every desired div tag so I'm forced to use this approach to keep track of exactly when it doesn't appear and then adjust my array from simple_html_dom accordingly).</p>
  
  <p>Anyway, this would solve my problem.</p>
  
  <p>Thanks so much.</p>