Regex (Coding) Quiz

Regular expression syntax and pattern matching: a small language every developer eventually needs.

This category currently has 40 questions in the SERVBG quiz bank. Below are a few sample questions: the full interactive quiz shuffles through the whole set with instant scoring.

Sample questions

Which regex metacharacter matches any single digit (0-9)?
Which regex metacharacter matches any whitespace character?
Which regex metacharacter matches any "word" character (letters, digits, underscore)?
Which anchor matches the start of a line (in default mode)?
Which anchor matches the end of a line (in default mode)?
Start the full quiz ›

Related categories

Python (Coding)
Python syntax and standard-library usage, from quick scripts to full applications.
187 questions
JavaScript (Coding)
Core JavaScript behavior and async patterns, including the quirks that trip up beginners and veterans alike.
186 questions
Linux
Linux command-line usage, file permissions, process management. The daily admin tasks.
150 questions
Security
General information security concepts: common threats and standard defenses.
148 questions
Hardware
Hardware components, how they interact, and basic troubleshooting to keep systems running.
145 questions