Regex Tester & Debugger
Test and debug regular expressions.
Processed in this browser
Regular ExpressionECMAScript (JavaScript Flavor)
Presets:
//g
Test String
90 chars
Interactive Match Highlighting
3 matches 0.14ms
Contact us at support@adyve.com, dev-team@google.com, or admin@domain.co.uk for inquiries.
Token-by-token automated AST breakdown:
/gGlobal (g)
Don't return after first match; find all occurrences across the string
(...)Capturing Group #1
Groups subpattern and saves the match into backreference Group #1 ($1).
@Literal '@'
Matches character '@' literally (case-sensitive)
(...)Capturing Group #2
Groups subpattern and saves the match into backreference Group #2 ($2).
How to use Regex Tester
- 1Enter your regular expression in the Pattern field (without enclosing slashes).
- 2Toggle your desired flags: g (global), i (case insensitive), m (multiline), s (dotAll).
- 3Type or paste your test text in the Test String area.
- 4Inspect the highlighted matches and check the token explanation and capture group table.