title: Regular Expression to Match HTML <p> tag using PHP
body: <p>I have some content like this</p>
  
  <pre><code>&lt;p&gt;some content, paragraph 1&lt;/p&gt;
  &lt;p&gt;some content, paragraph 2&lt;/p&gt;
  &lt;p&gt;some content, paragraph 3&lt;/p&gt;
  </code></pre>
  
  <p>I would like to return the first paragraph i.e.</p>
  
  <pre><code>&lt;p&gt;some content, paragraph 1&lt;/p&gt;
  </code></pre>
  
  <p>Can anyone assist me with the regex code?<br>
  <code>'&lt;p&gt;(.*.)&lt;/p&gt;'</code> doesnt seem to work</p>