If the Sharks beat the Avalanche in Game 7 on Wednesday night, they will face the Blues in the Western Conference final.

St. Louis eliminated the Dallas Stars in double overtime of Game 7 of their NHL playoff second-round series Tuesday night.

Patrick Maroon scored the series-winner 5:50 into the second overtime.

During the regular season, the Sharks went 2-1 against the Blues. St. Louis won the first matchup 4-0 on Nov. 9, while San Jose won the second game 4-0 on Nov. 17 and the third matchup 3-2 in overtime on March 9.

[RELATED: DeBoer updates Pavelski's status for Game 7]

The Sharks would have home-ice advantage in a potential series with the Blues. But, they'll need to take care of business against the Avalanche first.