What helps clean you out?

Currently 26w2d pregnant and I’ve been having irregular bowel movements for the past few weeks.. each time hospital made me come in and take an enema.. so that was three freaking enemas.. not sure if they clean you out but they got me to make bowel movements but I keep getting backed up again.. I took miralax two days ago and I still don’t have the urge to go.. I’ve been drinking nothing but water and I’ve eaten fiber, doctor even prescribed me stool softeners.. I’ve also eaten and drink prunes and prune juice.. its now 5 days since the last enema I have tooken and I still have yet to use the restroom.. so annoyed and irritated that I’m going through this on top of that I’ve started getting Braxton Hicks.. what cleans you all the way out and is safe during pregnancy?