A gun-toting mugger who targeted a half-dozen young women in Washington Heights – including a pregnant victim whose unborn baby he threatened – was arrested yesterday morning by two alert cops, sources told The Post.

Anibal Sanchez, 22, was nabbed at 11 a.m. in front of 575 W. 159th St. after two cops on patrol recognized a similarity between him and an NYPD artist’s sketch released last week.

Sanchez was allegedly found with the pellet gun he’s suspected of using in his monthlong spree – and with pawn tickets believed to have been obtained when he hocked his victims’ jewelry, the sources said.

He is suspected of following women into their apartment buildings’ lobbies and robbing them. He would allegedly pull the pellet gun from his waistband and demand that his terrified victims hand over cash and other valuables.

One time, he accosted a visibly pregnant 28-year-old – and pointed the gun at her belly.

“If you don’t give me your s- – -, I’m going to shoot the baby!” he allegedly said before making off with all of $5.

Sanchez, who lives on West 139th Street, is facing robbery and weapons-possession charges, the sources said.