Flyers captain Mike Richards made it 3-2 at 9:06 of the third with a blistering slap shot from above the right circle. He scored after Danny Briere got the puck to him off a clean faceoff win four seconds into a power play.
John Madden sealed it with a short-handed goal with 6:12 left, scoring into an empty net after goalie Martin Biron was caught way out of position. The game's final two special-teams goals were scored while Holik sat in the box after a pair of penalties.
Briere got the Flyers within a goal again with 3:33 left. Clarkson, who fought Richards in the first period, made it 3-1 with 3.9 seconds left in the second.
Goalie Martin Brodeur was back for the Devils and made 18 saves. Biron stopped 25 shots for the Flyers, who play one more exhibition game Tuesday night at the Spectrum against their AHL team, the Phantoms. Philadelphia will get going for real next Saturday when they host the New York Rangers.