Ok, first up - your wife's behaviour is completely unacceptable. If there were no kids, I'd say to just get the hell out. But there are kids, so I think the two of you owe it to them to give a red hot go at fixing this.
If you and your wife both agree that you want to work on the marriage, I'd be getting into marriage counselling immediately. I think that a third person may be better in helping the two of you see the marriage dynamics more clearly.
Never regret anything that has happened in your life. It cannot be changed, forgotten or undone. So, take it as a lesson learned and move on.