Quiz

Test your understanding by taking this quiz on regular expressions.

Quiz on Regular Expressions in Java

1

Which of the following options represents a simple character class?

A)

[abc]

B)

(abc)

C)

\w

D)

[^abc]

Question 1 of 110 attempted

Get hands-on with 1400+ tech skills courses.