How long did you bleed when you had a miscarriage?

I just want to know how long it took for the bleeding to stop for others.