In jQuery, you can select all elements that start / end with something.
= is exactly equal != is not equal ^= starts with $= ends with
Is it possible to select all the elements that do not start / end with "something"?
Use the :not selector:
:not
:not([id^=foo])