If you've tried eliminating all of the foods I've listed, I would recommend eliminating all gluten for 2 months to see if that helps. However, this is a very hard thing to do and it will be a challenge.
I have been having gas build up for many years. It is embarrassing that I have to expel it and ofcourse I am not around others at that time as I make sure to move when that time occurs. I'll have some coffee in the morning as work. I use a lactose free creamer and just a dash of caffeine but predominantly caffeine free coffee. Then the coffee for the rest of the morning is entirely caffeine free. I seldom have milk. I seldom have soda. These are things I used to consume all the time. Yesterday I had gas buildup immediately after having nothing but soup. So maybe salt causes gas as well? There was some corn in the soup, but not much.
The few times I have used gas-x it has worked. But that cannot be the answer. I want to stop the cause if I can. I am also concerned that so much of what I consume has sugar in it and I believe that also affects me. ANy e-z thoughts, or time to see a gastro?
Welcome to the gastroenterology community! I would recommend eliminating different foods from your diet to see if that helps. I would first recommend eliminating 100% of all lactose from your diet. You could also try eliminating caffeine, chocolate, carbonation, beans, etc.