I was hospitalised several times in my 20s with bowel obstruction due to constipation. I was on numerous medications and it totally took over my life.
Diet was the key, and still is 30 years later. This was before FODMAP was a thing so I just used trial and error, a food diary, exclusion of foods for a few weeks then gradually reintroducing them. I found dairy, wheat, caffeine to be triggers. I never drink alcohol.
Over the years I have tweaked, and I realised that it wasn't the wheat but rather the yeast that often goes with it. So no crusty white bread but I'm fine with soda bread. I can also eat pasta, but I wouldn't have it more than once a week. I low carb as carbs cause fermentation, that gurgling and hissing I get when I've eaten something I shouldn't have. I only eat meat once or twice a week and stick mostly to a plant based diet. Deliciously Ella is great for recipes.
Ds now has symptoms, GP wasn't particularly helpful so we've gone down the diet route. His stomach noises were so loud you could hear them across the room! That turned out to be dairy, he stopped drinking milk and switched to oat and had a silent tummy almost immediately. Also onions are a problem for him, I use shallots in cooking now. He has improved a lot, but still has some symptoms. He has just finished a course of probiotics, and is taking kefir. Very interesting to read hear that others have found it, and Greek yogurt helpful. I'll get some for him today.
The other thing I think has really helped me I think, is intermittent fasting. I only eat between 10am and 7pm. I've been doing this for a year now and it really seems to suit my system, possibly as it gives my digestive system a break.
Anxiety definitely plays a part for me, so I have tried hard to deal with that, and hormones definitely made things worse, esp the week before my period. Thankfully I'm menopausal now!
So much trial and error I know, but I hope you'll find what works for you.