The anionic and mixed exchangers were prepared from rubber waste, which was treated previously with chlorine or bromine or sulfuric acid, by reaction with ammonia or pyridine.