Text this: Regenerative stochastic simulation