$meats = "Chicken, Beef, Duck";preg_match_all('@.*?@',$meats,$matches);foreach ($matches[0] as $meat) { print "Meat A: $meat\n";}preg_match_all('@.*@',$meats,$matches);foreach ($matches[0] as $meat) { print "Meat B: $meat\n";}?>