Hey, i hope you are doing well now, the probiotics can help reduce flatulence as there are many reasons for excessive gas(gastoenteritis), it takes time to find the root cause, you should consult your doctor, meanwhile, you can also take the Fart pills, what I have heard and seen in youtube videos, these tablets works and can reduce the smelly flatulence and bloating. You can search for flatuscents on google.
Probiotics helped me. I drank kefir and ate bio yoghurt. But seeing as you're pregnant definitely ask your doctor, you may need to take supplements or something to counteract what you're losing from vomiting and not eating