Updated

Andrej Meszaros scored at 4:42 of overtime to lift the Philadelphia Flyers to a 4-3 win over the New York Islanders on Thursday night.

Meszaros buried a 25-footer from the slot over Al Montoya's right shoulder for his fifth goal of the season and helped the Flyers continue their dominance over the Islanders.

Matt Martin's second goal of the game with 27.2 seconds left in the third period sent the game into overtime. He scored earlier in the period to make it 3-2.

Mike Richards, Jeff Carter and James van Riemsdyk also scored goals for the Flyers.

The Flyers continue to dominate the Islanders, beating them for the 12th straight time in Philadelphia. They have won 19 of the past 20 overall against their Atlantic Division rival.

The Islanders haven't won in Philadelphia since a 4-2 win on April 7, 2007.

Sergei Bobrovsky stopped 32 shots for the Eastern Conference-leading Flyers.

The Islanders aren't the only division rival to go down against the Flyers. Philadelphia is a sparkling 14-2-1 against the Atlantic and remains in a serious hunt for the NHL's points lead.

Frans Nielsen also scored for the Islanders.

The Flyers, who held the fifth-best record in team history through 60 games, had lost two of three for what counts as a slump this season. Facing the Islanders seemed the perfect way to snap out of it.

Martin, who recently returned from a four-game suspension for a brawl against Pittsburgh, forced overtime that stunned a Flyers crowd already heading for the exit.

Meszaros made it worth sticking around for his game-winner.

Flyers defenseman Chris Pronger left the game late in the third period after he was hit by a slap shot on his foreman.

The Islanders quickly tried to reverse their losing ways when Nielsen scored his eighth goal of the season midway through the first period. He took the puck along the boards through the neutral zone and fired a wrister from the circle past Bobrovsky for the 1-0 lead.

Richards and Van Riemsdyk scored second-period goals against Montoya to give them the lead.

Richards scored his 19th goal only 2 minutes into the period to even the score. Van Riemsdyk had his stick down and was ready for a sweet behind-the-back pass from All-Star Claude Giroux that he got past Montoya for his 15th goal.

Carter's tip-in in the third for his 28th goal made it 3-1 and it seemed the Flyers would coast toward another win against the slowly-improving Islanders.

Not so fast.

Martin's first goal of the game was a dead-on shot from the slot that pulled the Islanders within one at 6:31.

Montoya made 39 saves to keep the Islanders in the game.

Notes: Flyers GM Paul Holmgren said D Oskars Bartulis needs shoulder surgery. Bartulis will miss 10 to 12 weeks. Bartulis was injured on an illegal hit by Phoenix Coyotes left wing Scottie Upshall. Upshall was suspended two games by the NHL on Wednesday. ... Flyers F Nikolay Zherdev cleared waivers and participated in the morning skate. Holmgren said there are no plans to send Zherdev to the minors.