refer this sample
var urls = [
'https://rukminim1.flixcart.com/image/200/200/iron/f/g/c/philips-gc1905-gc1905-original-imadztntwyhmcmge.jpeg?q=80',
'https://rukminim1.flixcart.com/merch/200/200/images/1470378893322.jpg?q=80',
'https://rukminim1.flixcart.com/image/200/200/shirt/n/c/e/17621-0026blues-levi-s-m-original-imaegdynbtwa4v3c.jpeg?q=80',
'https://rukminim1.flixcart.com/image/312/312/mobile/a/6/z/samsung-galaxy-j5-2016-sm-j510fzwuins-original-imaeg8cyzupzrkcc.jpeg?q=70'
];
var imagesof200 = [];
for (var i = 0; i < urls.length; i++) {
if (urls[i].indexOf('/200/200/') != -1)
imagesof200.push(urls[i]);
}