SpeedDrain
Real-time Engine · Capture Groups · Built-in Presets

Regular Expression Tester

Craft, test, and debug RegExp patterns against sample text with instant visual feedback and capture group introspection.

Presets:
//
Matches found: 2
Matched Tokens (2)
#MatchIndexCapture Groups
1[email protected]14—
2[email protected]41—

JavaScript RegEx Cheat Sheet

Character Classes

  • \d : Any digit [0-9]
  • \w : Any word character [a-zA-Z0-9_]
  • \s : Any whitespace (space, tab, newline)
  • . : Any character except newline

Quantifiers & Anchors

  • ^ / $ : Start of string / End of string
  • * / + : 0 or more / 1 or more
  • ? : Optional (0 or 1 match)
  • {n,m} : Between n and m times