Existence and regularity results for a nonlinear elliptic equation