The regularized values of divergent series are not always what we should think of as the values of those sums. When a series diverges to infinity, the regularized value is only the finite part of the series.
One can map divergent series to surreal numbers, and the regularized sul will be the finite part.
There is quite developed theory of mapping Hardy fields to surreals, and basically considering surreals as an H-field (H-field is a Hardy field with a unity).
In simple language, Hardy fields are the fields of germs (asymptotic behaviors) of functions at infinity. For instance, the germ of the function $f(x)=x$ is greater than any real numbers but smaller than the germs of $x+1$, $2x$ or $x^2$.
The surreal numbers also can be seen as a Hardy field, with canonical embedding of the germs of smooth functions into surreals being equalizing $\omega$ with the germ of the identity function $f(x)=x$.
This way, you can embeed germs at infinity into surreals, and with some other limitations, divergent improper integrals (at least those which correspond to surreals with no infinitesimal part).
With series the matter is a bit more complicated, since you need to convert the discrete partial sum into a smooth germ. But this formula (which is similar to the one in the answer by Saibal Mitra) does the trick:
$$\sum_{k=0}^\infty a_k=\int_{\omega }^{\omega +1} \left(\sum _{k=0}^{x-1} a_k\right) \, dx$$
This way you can get the expression of a divergent series as a surreal number, compare them, extract the finite part (that is regularized value), etc.
For instance, you can see that $\sum_{k=0}^\infty e^k=e^{\omega }+\frac{1}{1-e}$.
You can see that $e^\omega$ is a log-atomic number, so it has zero finite part, so the second term is the regularized value.
In a similar way, you can see that $\sum_{k=0}^\infty k=\frac{\omega ^2}{2}-\frac{1}{12}$ and so on.
For the sum of harmonic series you will get $\sum_{k=1}^\infty \frac1k=\ln \omega+\gamma$. For some reason, online Wolfram Alpha is too weak for this, but Wolfram Mathematica does just well.