Regular Expressions

Flashcard 6 of 10

How can we write a pattern that will find all instances of class or klass, but not class_name in the following passage?

The word class is a reserved word, but we can use other words that contain it, like "class_name", or "klass" to work around this.

Answer:

Reveal Answer