$('[class^="value"]') <-- starts with string $('[class$="value"]') <-- ends with string $('[class~="value"]') <-- contains string