Wright received a cortisone shot. He will rest for two days before resuming baseball activities, "as tolerated," the team said.
Wright sustained the injury sliding awkwardly into second in the eighth inning of Tuesday's 6-5 win over the Phillies. Wright said after the game he felt a pop before sliding for a stolen base.
The third baseman said he was aware that the team was short on the bench, but was able to think about things during the next at bat. Once he weighed all the options, he knew it was better to come out of the game and avoid the opportunity to further injure himself.
Terry Collins called the injury a "major problem." Collins told reporters that "If it wasn't major, David Wright wouldn't open his mouth."
Eric Campbell has been recalled from Triple-A to replace Wright on the roster.
Campbell is hitting .550 with a .625 OBP and 1.050 SLG in six games at Triple-A, with two doubles, a triple, two home runs and six RBIs in 24 plate appearances.
Andrew Vazzano, SNY:
Hamstrings are a tough injury, as players will compensate to their other leg or other body parts to avoid the pain in the hamstring. Hopefully, if and when Wright comes back, he's 100 percent healthy and this injury doesn't hang with him for the entire season.