Alkaphenol based demulsifier resins and their continued use in the offshore oil and gas industry