I have this same condition. I gave up sugar for a few months and now allow myself a tiny bit.
I had been diagnosed with IBS but found out the truth when I cut out sugar on finding I had type 2 diabetes. All my supposed IBS symptoms disappeared. I wrote about it in piece called Stop your IBS symptoms by cutting out ONE food.
I know exactly how you must have suffered and I’m so glad you found your cure. Cutting out sugar has given me my life back and allowed me to eat so much that I couldn’t while searching for triggers that didn’t exist.
Good health ☺️