I have an array that is structured as such:
$data = array( \"abc\"=>array( \"label\" => \"abc\", \"value\" => \"def\",
preg_match_all returns the rows that match a pattern with a specific column name.
$pattern = "/REDUCTION/i"; $reductions = array_filter($data, function($a) use($pattern) { return preg_match_all($pattern, $a['budget']); });