The attack took place in the Stamford Hill neighborhood, which has a large haredi (ultra-Orthodox) population.
The woman, who is 27 weeks pregnant, was injured and taken to a hospital, but the baby was apparently unharmed, the Shomrim reported. There recently has been an increase in attacks on lone women in the neighborhood, it said.