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