ST. LOUIS _ The Blues came within 18 seconds of getting, in regulation, their seventh win in a row. Instead, a late goal by Dallas sent the game to overtime, and then to a shootout, where the Blues finally got the job done, beating Dallas, 4-3, at Enterprise Center.
Ryan O'Reilly scored on the shootout and Jake Allen stopped all three shots he faced to give the Blues the win.
The Blues closed out their season series with Dallas with a 4-0-1 record this season against a team they might very well meet in the playoffs.
In a battle of Central Division contenders, the Blues got goals from David Perron, Tyler Bozak and Brayden Schenn and another win for Allen, who is 3-0 against the Stars this season.
Dallas tied the game with 18 seconds left on a goal by John Klingberg.
The Blues were spurred on by a string of power plays in the second period that produced only one goal but generated plenty of momentum that swung the game in the Blues favor.
The Blues now have two seven-game win streaks and one eight-game win streak this season.
The win kept the Blues three points up on second-place Colorado, which beat Nashville, and put them seven points up on Dallas.
The Blues dominated the second period until a giveaway by Perron led to a Dallas goal late in the period that gave the Stars some momentum.
Dallas was called for three penalties in the first 5:31 of the second period, and the Blues played much of the next three-fourths of the period like they still had a man advantage.
Their first goal came 4:19 into the period when Bozak got his stick on a spinning behind-the-back pass by Vince Dunn to make it 2-1. That gave Dunn an assist on each of the Blues' first two goals.
With 6:54 to go in the second, the Blues went up 3-1. Alex Pietrangelo picked up a puck in the Stars end, sent it to O'Reilly, who got Klingberg turned around and had a two-on-one with Schenn with Dallas' Esa Lindell defending. O'Reilly reached forward to pass the puck around Lindell and Schenn blasted it in for a goal in his fourth straight game and 24th on the season.
The Blues put Dallas back in the game two minutes later. The Blues had the puck in the Dallas zone and a Star had broken his stick when Perron skated the puck into trouble at the blue line and lost it to Denis Gurianov, who had a breakaway and beat Jake Allen to cut the lead to 3-2.
The Blues fell behind in the first period when Tyler Seguin deflected in a shot by Klingberg 8:30 into the period that may well have hit a Blue as well and that left Allen helpless.
With 7:04 to go in the period, the Blues got even. Dunn kept the puck in the Dallas zone with an inch to spare at the blue line and passed it to Perron, who skated deep in the zone and shot the puck into the crease, where Miro Heiskanen got his stick just in front of Dunn's and directed it into the net. It was originally announced as Dunn's goal before changed to Perron for his 25th of the season and just his second in the past 14 games.
Jacob de la Rose, making a rare appearance in the lineup because Jordan Kyrou is sick, made his presence felt with five hits in the first period. Sammy Blais, also back in the lineup, had three hits.