Divorce while pregnant anyone?

We have a 12 month old and I’m almost 32w with our second but we have been on rocky terms for a while. Always arguing and he’s a little controlling and things like that. I’m literally in it for the kids now (hoping it’ll get better) and I know that’s the worst... my question is has anyone gotten divorced while pregnant and if so was it rough? Do you regret it? Any advice?