Ref. No. 1139/42-377
In the name of Allah the most gracious the most Merciful
The answer to your question is as follows:
You have repeated the words of divorce three times, hence all the 3 talaqs occurred and the Nikah is unknotted. You should have contacted a reliable Alim for the same.
And Allah knows best
Darul Uloom Waqf Deoband