Gas X safe?

Is Gas X safe during pregnancy? I have such a bad problem with tons of air in my stomach and costipation