Regex Tower

Test your regex skills!

Rules:

  1. Match all the target strings.
  2. Do not match any avoid strings.
  3. Completing a level unlocks the next level. Progress is tracked via JWT saved in the browser. No skipping ahead!
  4. You can revisit previously completed levels any time.
  5. If you get stuck, use a hint, or check your regex on Regex101.

Level 1

The target word 'cat' should be recognized, while similar words like 'car' and 'cap' should be avoided.

Target List

  • cat

Avoid List

  • car
  • cap