Is it all right to take fiber pills during pregnancy?

I am taking Benefiber and it says right on the side of the container to ask your doctor if you can take this while pregnant. So you should ask your doctor.