title: Split these results into array
body: <p>I'm really struggling to make some regex to turn:</p>
  
  <pre><code>Child Non Peak @ $10.75 USD &lt;br/&gt;
  &lt;input name="quan0" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Infant Non Peak @ $13.75 USD &lt;br/&gt;
  &lt;input name="quan1" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Adult Non Peak @ $13.75 USD &lt;br/&gt;
  &lt;input name="quan2" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Senior Non Peak @ $12.50 USD &lt;br/&gt;
  &lt;input name="quan3" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Member Adult Non Peak @ $12.75 USD &lt;br/&gt;
  &lt;input name="quan4" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Member Senior Non Peak @ $11.50 USD &lt;br/&gt;
  &lt;input name="quan5" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  Member Child Non Peak @ $9.75 USD &lt;br/&gt;
  &lt;input name="quan6" maxlength="1" size="1" class="star_N"/&gt; &lt;br&gt;
  </code></pre>
  
  <p>into an array thats like</p>
  
  <pre><code>array (
   value: Child Non Peak @ $10.75 USD 
   price: 10.75
  </code></pre>
  
  <p>Could anyone assist? I have this largely complex piece of regex already but its not fit for purpose.</p>
  
  <pre><code>preg_match_all('/class="t12"&gt;(?P&lt;type&gt;\w+)[\s@]*(?P&lt;cost&gt;\$[\d.]*)\s+USD(.*)name="(?P&lt;input&gt;quan\w+)"/msU',
                 $output,
                 $matches,
                 PREG_SET_ORDER);
  </code></pre>