Is Zip code - Node.js Regular expression

Node.js examples for Regular expression:Validation

Description

Is Zip code

Demo Code

     zip : {//from  w  w w.  j  a  va2  s.c o m
          validator : function(value) { 
              return /^[1-9]\d{5}$/i.test(value); 
          }, 

     },

Related Tutorials