Weegar would have become an unrestricted free agent next year.
The 26-year-old from Ottawa compiled 27 goals and 94 assists and 259 penalty minutes during six seasons with the Panthers.
Weegar, six feet and 206 pounds, had eight goals and 36 assists in 80 games last season.
The Panthers drafted Weegar in the seventh round, 206th overall, in the 2013 draft.
He won a Memorial Cup that year with the Halifax Mooseheads.
His contract counts $6.25 million against the NHL salary cap annually.
This report by The Canadian Press was first published Oct. 7, 2022.
The Canadian Press