Detection of heavy ions and antibiotics employing fuorescent sensing techniques has been one of the most active research fields in chemistry. Based on 1,3-bis(2-ethylbenzimidazol-1-ylmethyl)benzene (L) and 2,5-dichloroterephthalic acid (H 2 DCTP) mixed ligands, two new coordination polymers [Cd 2 L(DCTP) 2 center dot H 2 O] n ( 1 ) and [ZnL (DCTP)] n ( 2 ) were synthesized by changing the metal ions under solvothermal conditions. 1 expresses a doublelayer V-shaped 1D chain, which further extended into a 2D supramolecular network through classic O-H & ctdot; O hydrogen bonding interactions. 2 features a 2D 4 -connected sql layer. The two CPs perform high thermal and pH stability. 1 and 2 are the first CPs to detect Hg 2 + ions and pefloxacin by fluorescence quenching with low detection limits and superior recyclability.