The shutoff valve for my water main has cracked.
As part of replacing it, I'd like to also replace the corroded copper pipe connected to it.
What would be the best way to replace the valve and corroded pipe without damaging the connecting pipes? What type of pipe should I replace it with?
Edit: cleaned up the pipes with some wire brushes and sand paper, and they're actually copper pipes!
In addition, I finally got a good picture of the "crack" in the shutoff valve, and it almost looks like there used to be a screw or bolt there…