var newArr = []; for (var i = 0, len = elemList.lenght; i < len; i++) { if (elemList[i].name.search(/\[0-9{1,3}\]/) != -1) newArr.push(elemList[i]); }