Witam mam takie cos

$catregex1= explode('[[Kategoria:',$content);
$catregex2= explode(']]',$catregex1[1]);

i problem taki:
w zmienej jest kilka [[Kategoria: jak mogę wyciągnąć kazdą jedną wartość po [[Kategoria: ?