extract with patterns remove same results