Synthesis and application of hypercrosslinked polymers with weak cation-exchange character for the selective extraction of basic pharmaceuticals from complex environmental water samples.