“I don’t understand Islam very much and did not know about how talaq works. We love each other very much and want to be together but right now [we are] caught in this thing. Want to know a way out.”
Answer: Convert.
Winner!
Divorcing a woman is easy but trying to get a divorce from that religion is courting the death penalty.
Or he could just switch Muslim sects. The Shiites don’t play the triple talaq game.