Javascript String CheckMobilePhone()

Description

Javascript String CheckMobilePhone()

String.prototype.CheckMobilePhone = function(){
    var reg = /^0{0,1}(13[0-9]|15[7-9]|153|156|18[7-9])[0-9]{8}$/;
    return reg.test(this);
};



PreviousNext

Related