Miralax

Is miralax okay to use during pregnancy? And how often do you use it?