Gas x

Is gas x safe to take during pregnancy? As I heard it helps relieve bloating discomfort