⌨️
DevType.site

Regex Typing Speed Test

Regular expressions are the purest symbol-typing challenge in software: almost every character is shifted, escaped, or both. If you can type `^(?=.*[A-Z])(?=.*\d)` fluently, no code syntax will ever slow you down again.

Target Categorylanguage DrillMode: Regex
LV 1
Level Progress0 / 100 XP
High Score0 WPM
Badges0 / 5
📅
Daily Challenge
A new snippet every day — same for everyone. Keep your streak alive.
Snippet Language
Custom
Difficulty
Test Length
Keyboard Layout
Visual Theme
Key Switch Sounds
Volume
WPM00
Accuracy00%
Timer0s
📄 main.js
Ready
1
Click here or press any key to focusTAB / ANY KEY

The Hardest Typing in Software

A working regex is a nearly unbroken run of shifted symbols: anchors (`^`, `$`), quantifiers (`+`, `*`, `?`, `{2,}`), alternation (`|`), and grouping parentheses stack together with no words to rest on. Character classes bracket ranges (`[a-zA-Z0-9._%+-]`), and escapes double the backslash burden — `\d`, `\w`, `\s` are two-key chunks that repeat throughout any real pattern.

Advanced constructs compound the density: named groups (`(?<user>...)`), lookaheads (`(?=...)`), and non-capturing groups (`(?:...)`) each open with multi-symbol sequences that must be typed precisely — a regex with one wrong character usually still runs, just wrongly. Drilling real-world patterns for emails, log parsing, and password validation builds both speed and the character-level accuracy regex uniquely punishes you for lacking.

Key Drills for Regex:

  • Escape pairs as chunks: `\d`, `\w`, `\b` are single tokens. Type backslash-letter as one strike, not two decisions.
  • Group openers: Drill `(?:`, `(?=`, and `(?<` — three-symbol sequences that start every advanced construct.
  • Accuracy over speed: A regex typo usually fails silently. This is the one drill where 100% accuracy beats any WPM gain.

Sample Drill: Email & Capture Groups

Named capture groups for validating email-like strings.

regex-email · medium
^(?<user>[a-zA-Z0-9._%+-]+)@(?<domain>[a-zA-Z0-9.-]+)\.(?<tld>[a-zA-Z]{2,})$

The Symbols That Slow You Down

The keystrokes below are where Regex typing speed is won or lost. Key positions shown for QWERTY — the pattern transfers to any layout, just on different physical keys.

SymbolUsed ForKeysHow to Drill It
\dDigit classBackslash unshifted (above Enter), then letterBackslash-letter pairs (`\d`, `\w`, `\s`, `\b`) repeat through every pattern. Two-strike chunks, not two decisions.
[a-z]Character classShift+[ and Shift+]Classes wrap ranges. The bracket pair around hyphenated ranges must be one motion.
^Start anchorShift+6Line starts — and negation inside classes (`[^0-9]`). Same key, two jobs, both frequent.
$End anchorShift+4Pins patterns to line ends. Shift-4 at the end of an expression, not the start.
{2,}QuantifierShift+[, comma unshifted, Shift+]Brace quantifiers mix shifted brackets with an unshifted comma — an awkward three-key sequence.
(?:Non-capturing groupShift+9, then ? and : (both Shift)The opener of every advanced construct: `(?:`, `(?=`, `(?<`. Three-symbol sequences typed precisely.

Common Regex Typing Mistakes

  • ✗Dropping the backslash from `\d+` — the pattern still runs and matches nothing. Regex typos fail silently.
  • ✗Swapping the `^` and `$` anchors when typing fast — start and end sit close together mentally.
  • ✗Misplacing the comma in bounded quantifiers (`{2,}` versus `{,2}`) — drill them slowly until placement is certain.

What's a Good Regex Typing Speed?

Regex is the purest symbol-typing workout: 15–25 WPM is normal, and 30+ WPM with 98%+ accuracy is outstanding. On this page, chase accuracy first — a fast wrong regex is worth less than a slow right one.