Frozen Coyote,
var apr = "It's a dark april night",
may = "It's a bright may day",
jun = "It's a bright june day",
jul = "It's a bright july day";
var pattern = (".* bright(?!june).* day.*");
apr.match(pattern) ? alert("Gotcha!") : alert("Sorry");
may.match(pattern) ? alert("Gotcha!") : alert("Sorry");
jun.match(pattern) ? alert("Gotcha!") : alert("Sorry");
jul.match(pattern) ? alert("Gotcha!") : alert("Sorry");
Я правильно понял? Аналогичный результат нужен?