In this paper, with the aid of the symbolic computation, a further extended tanh function method was presented. Based on the new general ansatz, many nonlinear partial differential equation(s)(NPDE(s)) can be solved. Especially, as applications, a compound KdV-mKdV equation and the Broer-Kaup equations are considered successfully, and many solutions including periodic solutions, triangle solutions, and rational solutions are obtained. The method can also be applied to other NPDEs.