A series of readily available, amphiphilic pyrene-and perylene-containing fluorescent materials, derived from the copolymerisation of 2-acrylamido-2-methyl-1-propanesulfonic acid with acrylate esters, can be used to detect heavy metal ions in the micromolar concentration range in aqueous solutions. The incorporation of these amphiphilic copolymers into semiinterpenetrating hydrogels also resulted in the irreversible removal of divalent Co 2+ , Ni 2+ , Cu 2+ and Pb 2+ ions from aqueous solutions at neutral pH.