유용한 Javascript RegExref : http://ntt.cc/2008/05/10/over-10-useful-javascript-regular-expression-functions-to-improve-your-web-applications-efficiency.html 1// Check if string is non-blank2var isNonblank_re = /\S/;3function isNonblank (s) {4 return String (s).search (isNonblank_re) != -15} 1// Check if string is a whole number(digits only).2var isWhole_re = /^\s*\d+\s*$/;3function isWhole (s) {4 ..