I don't know how to incorporate regret. But I'll say, like, "It affected me that way," "I learned this," "Next time maybe I'll do it differently".
or simply: