One way to understand how the sum of all factorials $$ S_{\mathbb{N}!} = 1! + 2! + 3! + \ldots $$ can be regularized comes from an observation that the function $$ f(x) = \text{P.V.}\int \limits_0^\infty \dfrac{\operatorname{e}^{-t}}{1-t\,x} \operatorname{d}t $$ is finite for $x>0$, while its Taylor expansion is $$ f(x) = 0! + 1!x + 2!x^2 + 3!x^3 + \ldots $$ So, we can assign $S_{\mathbb{N}!} = f(1)$.
I'm wondering if same can be done for the sum of all integers $$ S_{\mathbb{N}} = 1 + 2 + 3 + \ldots $$ Clearly, we cannot use the function $\dfrac{x}{(x-1)^2}$, since it is not defined at $x=1$. Still, I'm wondering if it's possible to come up with smth similar to the case of factorials.
This is actually a closely related question.