[CH:1]([C:3]1[NH:4][CH:5]=[C:6]([C:8]([O:10][CH3:11])=[O:9])[CH:7]=1)=[O:2].Cl[CH2:13][O:14][CH3:15]>>[CH:1]([C:3]1[N:4]([CH2:13][O:14][CH3:15])[CH:5]=[C:6]([C:8]([O:10][CH3:11])=[O:9])[CH:7]=1)=[O:2]reacting a methyl 2-formyl-4-pyrrolcarboxylate with chloromethyl-methyl-ether in the presence of a base and a suitable organic solvent, obtaining as a reaction product methyl 2-formyl-N-methoxymethyl-4-pyrrolcarboxylate;