Javascript String CheckName()

Description

Javascript String CheckName()

String.prototype.CheckName = function(){
    var reg = /^[\u4E00-\u9FA5A-Za-z0-9_]+$/;
    return reg.test(this);
};



PreviousNext

Related