function checkEmail(text) { if( text.match(/qq.com$/) ) {return -1; } if( ! text.match(/^w+([._-]w+)*@(w+.)+w+$/) ) {return false; } return true;}