How can I determine if an input string only contains spaces, using javascript?
if(!input.match(/^([\s\t\r\n]*)$/)) { blah.blah(); }