I've been through this exact situation. I luckily have a working relationship with my ex still. I get my two boys 3 nights every weekend. I've found the silver lining to be that you get to have a very different (but still awesome!) relationship with your children. I have found that I cherish every minute I get with them now because it's so rare. I interact with them so much now. Im able to focus on improving myself when they're gone during the week and when I get them I make the best of it that I can and really believe our love has actually grown from all this.
I hope you find some of this helpful and enjoy some of this difficult but possible process!