HI, I need some good professional advise. My toilet was leaking and I removed it to find that the toilet flange was broken on one side. The flange and lower pipe appear to be cast iron 4 inch. I must replace some of the damaged flooring but am at a loss as to how to remove the cast iron flange from the cast iron pipe and then what will I have to replace it with? The flange itself does not seem to be bolted to the floor in any way.