<div class="my_class_f58fabb5461dc3ca3408a78ff9f1a02a">
  my_class_f58fabb5461dc3ca3408a78ff9f1a02a
</div>
<div class="my_class_43c544a56566d2cedd73331218e3639f">
  my_class_43c544a56566d2cedd73331218e3639f
</div>
<div class="my_class_43c544a56566d2cedd73331218e3639f">
  my_class_43c544a56566d2cedd73331218e3639f
</div>
<div class="my_class_text">
  my_class_text
</div>
<div class="my_class_input">
  my_class_input
</div>
div {
  padding: 15px 20px;
  margin: 10px;
  background-color: #ccc;
  color: #555;
}

div[class^="my_class_"]:not(.my_class_text) {
  background-color: red;
  color: #000;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.