Synthesis of netlike gold nanoparticles using ampicillin as a stabilizing reagent and its application