Another similar option is eating low FODMAP foods. A study by researchers at Monash University in Australia has defined and listed problem foods for those with IBS symptoms. Kate Scarlata is a great source. Look her up on FB, Pinterest, Google. I have become completely intolerant of garlic and raw onion and found this elimination diet, food diary and re-introduction of foods to be very helpful. Most Registered nutritionists can help you follow the plan.