Pd-Catalyzed regioselective synthesis of 2,6-disubstituted pyridines through denitrogenation of pyridotriazoles and 3,8-diarylation of imidazo[1,2-a]pyridines.