The resultant viscous material is dissolved with an organic solvent, such as dichloromethane, and then precipitated with an excess of anhydrous ether at a temperature in the range of ???10???4??? C. to remove the unreacted themosensitive oligomer or polymer F, the biodegradable moiety R1 (R2 or R3 or their copolymers) and the residual catalyst.