Is currency value - Node.js Regular expression

Node.js examples for Regular expression:Validation

Description

Is currency value

Demo Code

       currency : {/* w ww  . ja va2  s .  c o  m*/
          validator : function(value) { 
              return /^\d+(\.\d+)?$/i.test(value); 
          }, 
          message : '' 
       },

Related Tutorials