Interest in studying nonlinear models has been increasing in recent years. Dynamical systems, in which the state of the system changes continuously over time, have nonlinear interactions. The use of unique nonlinear differential equations is inescapable in the evaluation of such systems. In mathematical point of view, for obtaining analytical solutions of nonlinear differential equations, it must be fully integrable. Consequently, the importance of fully integrable nonlinear differential equations for nonlinear science has become indisputable. Among these equations, one of the most studied by physicists and mathematicians is the nonlinear Schrödinger equation. This equation has undergone many modifications to evaluate different phenomena. In this study, the resonant nonlinear Schrödinger equation, which is the most important of these physical equations in terms of explaining many physical phenomena, is solved analytically with the generalized sub-equation method.