Miralax

Have any of you taken miralax while constipated during pregnancy? Did it work?