Is this question to Peter and Chill60 only ? :). If not i am giving the example code like the following.
var obj = ['123456798','123567890'];
$.each(obj, function (i, val) {
if(val.indexOf(4)< 0)
alert(val);
});
Output of this script will be, it skips the phonenumbers that are containing 4 as per your query.