Constipation meds

Ashley
I am 8 weeks and so constipated. Had the hubby go get some Dulcoease Pink. Now wondering if these are safe to take during pregnant? The package said ob/gyn recommended. Has anyone taken this while pregnant?