Javascript String isPhoneNumber()

Description

Javascript String isPhoneNumber()

String.prototype.isPhoneNumber = function() {
  return this.match(/^\+?\d+$/) == null ? false : true;
}



PreviousNext

Related