Node.js examples for String:String Value
Testing whether a String Contains Only Numeric Data
function isNumeric(str) { var pattern = /^-?\d+(\.\d+)?$/; return pattern.test(str); }