Regioselective synthesis of N-formohydrazide and formyl pyrazole analogs as potent antimicrobial agents