Probably your mucus plug. It can come out in pieces. Mine came out at 36 weeks and when I told my dr, she said although it is exciting to think you're close to labor, it doesn't really mean much.
Sounds like just discharge. The mucus plug is thick and usually has a little color to it and pink or blood tinged. It looks like a large blob of snot.
it didn't have any color but it looked like snot.