All quizzes
Free quiz · 22 questions in the bank

Regex quiz

Test your Regex knowledge with a free interactive quiz — 22 questions with answers and explanations. No signup needed to play.

Question 1/10Score 0

How do you match a literal special character like a dot or parenthesis?

In this round
  1. How do you match a literal special character like a dot or parenthesis?
  2. What does a character class like [aeiou] match?
  3. What do the anchors ^ and $ represent?
  4. What is a regular expression (regex)?
  5. What does the ? quantifier mean after a token?
  6. What does the . (dot) metacharacter match by default?
  7. What does \d match?
  8. What does the + quantifier mean?
  9. What does the alternation operator | do in (cat|dog)?
  10. What does the * quantifier mean?
Gaps to close?
Read the curated Regex notes — core concepts, patterns, interview prep.
Regex notes

More quizzes

.NETAccessibilityAgile MethodologyAlgorithmsAndroidAndroid SDK