WINNIPEG, Manitoba (AP) — Henrik Lundqvist stopped 30 shots to match the Rangers' record for career wins, and Swedish countryman Carl Hagelin scored three goals to lift New York to a 4-2 victory over the Winnipeg Jets in the NHL on Friday.

Lundqvist tied the mark of 301 wins with the Rangers, set by Stanley Cup-winner Mike Richter. The Swede will have a chance to break the record Sunday at home against San Jose.

Chris Kreider also scored for the Rangers, who went 1-2 on a three-game trip, bouncing back from a 2-1 loss at Minnesota on Thursday.

In other games around the league, the San Jose Sharks defeated the New York Islanders 4-3 for their fifth straight win, the Anaheim Ducks kept pace in the Pacific Division by netting six goals in the second period to beat the Colorado Avalanche 6-4, and the Calgary Flames erased a two-goal deficit in the third period to beat the Dallas Stars 4-3 in a shootout.

The Ducks and Sharks stayed tied for first place in the Pacific Division with their respective wins. Both teams have 95 points, but the Ducks have played one fewer game.

Matt Nieto and Jason Demers scored first-period goals and Joe Thornton and Marty Havlat added goals in the second as the Sharks improved to 20-6-3 against the NHL's Eastern Conference. Antti Niemi made 35 saves for San Jose.

Kyle Palmieri scored two goals in 47 seconds for the Ducks, who stopped a four-game skid with their biggest offensive output since they scored nine goals against Vancouver on Jan. 1.

Jonas Hiller made 34 saves two nights after giving up three goals on five shots before being pulled.

Calgary's Mike Cammalleri scored two goals as the Flames rallied to beat Dallas in the Stars' first home game since forward Rich Peverley collapsed on their bench on Monday.

Peverley, who got a standing ovation from the crowd in the first period, is out for the season and will have a procedure done to fix an irregular heartbeat that was diagnosed in training camp.

Trailing 3-1 late in the third, Calgary's Paul Byron and Cammalleri scored a pair of goals three minutes apart to even the score before Corban Knight netted the winner in the shootout.

Elsewhere, Washington's Mike Green netted the go-ahead goal in the third period and Evgeny Kuznetsov had three assists for his first NHL points as the Capitals edged the Vancouver Canucks 4-3.

The Florida Panthers scored three goals in the third period to beat the New Jersey Devils 5-3 and end a three-game losing streak. Scottie Upshall scored the go-ahead goal for Florida.

The Detroit Red Wings topped the Edmonton Oilers 2-1 in a shootout, with Tomas Tatar scoring on their third shootout attempt and Jimmy Howard stopping all three Edmonton attempts.

And Nashville's Ryan Ellis scored in the third period and Roman Josi had three assists as the Predators beat the Chicago Blackhawks 3-2 for their third consecutive win.