N12CCCNC1=NCCC2.[CH3:11]/[C:12](/[N+]([O-])=O)=[CH:13]\[C:14]1[CH:19]=[CH:18][CH:17]=[CH:16][CH:15]=1.[CH2:23]([O:25][C:26](=[O:30])[CH2:27][N+:28]#[C-:29])[CH3:24]>C(O)(C)C.C1COCC1>[CH2:23]([O:25][C:26]([C:27]1[NH:28][CH:29]=[C:12]([CH3:11])[C:13]=1[C:14]1[CH:19]=[CH:18][CH:17]=[CH:16][CH:15]=1)=[O:30])[CH3:24]1,5,7-Triazabicyclo[4.4.0]dec-5-ene on polystyrene (4.7 g, 2.6 mmol/g, 12.2 mmol) was added to a reaction mixture of trans-β-methyl-β-nitrostyrene (997 mg, 6.11 mmol) and isocyanoacetic acid ethyl ester (691 mg, 6.11 mmol) in isopropanol (5 mL) and THF (5 mL) and the reaction mixture was stirred overnight at RT under nitrogen as protective gas. The reaction mixture was filtered out and the residue washed with isopropanol and THF. The desired product 4-methyl-3-phenyl-1H-pyrrole-2-carboxylic acid ethyl ester (1.25 g, 89% of theoretical) was obtained.