Complex extraction and stripping of H acid wastewater