Brown stringy discharge

HELP!! I’m 27 weeks probably and when I just went pee, I saw this floating in the toilet. I grabbed some toilet paper and tried to get it out, and it obviously broke. It was literally a string when I first saw it. I wish I would’ve looked in the toilet before I went to make sure it wasn’t there before. Please help!!