permutit water softener can be regenerated by washing the spent resin with brine( saturated sodium chloride solution). The solution ions replace the calcium or magnesium ions present in it.
CaR2(s)CaR_{2(s)}CaR2(s) + 2NaClaqNaCl_{aq}NaClaq → CaCl2(aq)CaCl_{2(aq)}CaCl2(aq) + 2NaR2(s)NaR_{2(s)}NaR2(s)