finished search by regex  patterns