Irregular/ prolonged periods and pregnancy

Has anyone experienced prolonged bleeding for a few weeks in early pregnancy and then it just stops out of nowhere and they ended up being pregnant?