Mucus plug

So I am 35 weeks and I lost my mucus plug this morning . I have been having contractions on and off for two weeks. I'm still not dilated though. The dr said it could start within hours days or even a few weeks. Has anyone else had any of this?