Replacing a main sewer line all the way from your house to the street requires digging up the street along with your yard.
Sometimes the sewer line in the street can be from 7 to 10 feet deep and will require the city to dig out in the street or even the plumbing company.
Digging up and replacing the sewer line from your house to the street can cost from $5,000.00 to even $25,000.00 depending on how deep the sewer line is and how far the sewer line is to your house from the street.
Usually it's not more than $8,000.00 though to have a professional plumber replace the sewer line and if you can get the sewer connected to the city sewer main then you can usually rent a track hoe and dig up the sewer line cheaper yourself and replace it for the cost of the track hoe rental and the sewer pipe.