You need the :not() selector:
$('div[class^="first-"]:not(.first-bar)')
or, alternatively, the .not() method:
$('div[class^="first-"]').not('.first-bar');
You need the :not() selector:
$('div[class^="first-"]:not(.first-bar)')
or, alternatively, the .not() method:
$('div[class^="first-"]').not('.first-bar');