Solvent regeneration