A woman who was viciously slashed across the face and neck by a group of armed robbers in a random attack has undergone emergency surgery.

Police said the 34-year-old woman was riding her bike along Harker Street in North Melbourne about 2.30am on Wednesday when she was stopped by two men and a woman.

The crime scene in North Melbourne after a woman was the victim of a random stabbing. Credit:Twitter/@7NewsMelbourne

Armed with a knife, one of the men ordered the victim to give him her bike and personal belongings.

The woman was then slashed on her face, upper arms, torso and neck, before the offenders fled on foot.