2), were synthesized and characterized. Recognitions of 1 for anions and 2 for cations were studied through fluorescence spectra, UV/vis spectra, HRMS, 1 H NMR and infrared spectroscopies. The results revealed that 1 was able to differentiate 2 4 H POfrom other anions, and 2 was able to differentiate Ag + from other cations via fluorescence method.