The invention provides an
anion receptor based on nitrophenylhydrazone and phenolic hydroxyl groups. The
anion receptor is prepared by the following steps: 2, 6-diformyl-4-irgasan and paranitrophenylhydrazine are added into a reactor according to the quantity ratio of between 1 to 2 and 1 to 2.5, paratoluenesulfonic acid which accounts for 0.001 to 0.01 percent of the total
mass of reactants is added as a catalyst, absolute ethyl
alcohol which is 20 to 40 times of the total
mass of the reactants is added as a
solvent, and the
reflux is performed for 3 to 6 hours at a temperature of between 70 and 100 DEG C to generate an orange precipitate; and the mixture is cooled to
room temperature, and then the precipitate is filtered, is scrubbed by the absolute ethyl
alcohol, and is recrystallized by DMSO to obtain the
anion receptor. The anion
receptor has the colorimetric identification ability to
fluoride ions, acetates and dihydrogen phosphates in a DMSO solution, and has the selective colorimetric detection ability to acetate ions in DMSO / H2O solution. Anion detection test paper prepared by absorbing the anion
receptor on the pretreated
filter paper and
drying the
filter paper is used for colorimetric detection of the
fluoride ions, the acetates and the dihydrogen phosphates, and has the characteristics of convenience for carrying, convenient use, high detection sensitivity and so on.