<?php
$description = "<p>30ml plastic medicine measure, of clear polypropylene with 1ml minor graduations and 5ml major graduations</p>
<span class="hr"></span>
<ul>
<li>1ml minor graduations and 5ml major graduations from 0ml to 30ml capacity</li>
<li><strong>Clear plastic measure &#150; you and your patient can see exactly how much medicine has been poured</strong></li>
<li>Suitable for GP surgeries and care homes</li>
<li>Pack size: 100 x 30ml medicine measures</li>
</ul>
<span class="hr"></span>
<p>We also provide [prod model=&#34;70420&#34;/], [prod model=&#34;62805&#34;/] and many other [cat cat=&#34;first aid medical supplies&#34;/].</p>";
preg_match_all("/\[[^\]]*]/", $description, $shortcodes);
var_dump($shortcodes);