Regular and self-similar solutions of nonlinear Schrödinger equations