Construction of regular and singular Green's functions