Stephen Strasburg #37 of the Washington Nationals pitches in the first inning against the New York Mets (Mike Stobe/Getty Images)

Stephen Strasburg stayed undefeated, winning a marquee pitching matchup against an ailing Noah Syndergaard by tossing seven innings of two-hit ball Friday night that sent the Washington Nationals to a 3-1 victory over the banged-up New York Mets.

Clint Robinson hit a two-run homer for the Nationals, going deep for the second consecutive night, and Daniel Murphy added an RBI double against his former team. Strasburg (12-0) struck out nine and became the first National League pitcher in 104 years to win his first 12 decisions in a season.

Oliver Perez and Blake Treinen combined to escape an eighth-inning jam, and Washington extended its NL East lead to four games over the Mets after dropping the opener of the four-game series Thursday night.

Syndergaard (9-4) and slugger Yoenis Cespedes left early with injuries — hours after New York announced that struggling pitcher Matt Harvey will have season-ending surgery for thoracic outlet syndrome.

Sign up for the Newsletter

Get the best of delivered to your inbox every day.

(Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed)