php extract 99 from string regex
<p>I have a string:</p>

<pre><code>tomato='36'/&gt;&lt;/carrot
</code></pre>

<p>From this I am trying to extract <code>36</code> using regex.  I am using:</p>

<pre><code>"/tomato='(.*)'\/&gt;/"
</code></pre>

<p>This extracts the beginning ok, but not the rest.  Any ideas how to fix this?</p>
