Preparation and application of a novel magnetic anion exchange resin for selective nitrate removal