PHP - Extract value from string
<p>I have several strings that have been pulled using cURL from another website. The string itself contains the entire pages HTML structure, however inside each page there is a paragraph as outlined below:</p>

<p><code>&lt;p&gt;Displaying 1-15 of 15 items beginning with A&lt;/p&gt;</code><br>
<code>&lt;p&gt;Displaying 1-20 of 33 items beginning with B&lt;/p&gt;</code></p>

<p>What I need to do is just extract the total values from these strings (<code>15</code> and <code>33</code> in the above case).</p>

<p>I'm not sure what the best method to extract the values is.</p>

<p>Thanks :)</p>
