Here is a link to the low FODMAP diet http://www.med.monash.edu/cecs/gastro/fodmap/
I am fine with some groups - I can tolerate lactose for example and am OK with onions in small doses. Main things that give me problems are wheat, beans and pulses, garlic, apples, pears and stone fruit...