var tmp, res = [], re = /(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*')|(\b_\w*)/g; while( tmp = re.exec( s ) ) if( tmp[1] ) res.push( tmp[1] );