2-chloro-5-(2-fluorophenyl)-1H-pyrrole-3-carbonitrile is synthesised using 2-[2-(2-fluorophenyl)-2-oxoethyl]malononitrile as raw material by chemical reaction. The specific synthesis steps are as follows:
2 g of the intermediate III-1 was dissolved in 40 ml of a solution of hydrochloric acid in ethyl acetate, and the mixture was stirred at room temperature overnight. After the reaction is completed, the solvent is distilled off under reduced pressure to give the compound of 2-chloro-5-(2-fluorophenyl)-1H-pyrrole-3-carbonitrile, 2.1 g of a white solid with a yield of 96%.