Regular Expression Tester | Free Online Tool
Test and debug JavaScript regular expressions with live match highlighting and capture groups.
About Regex Tester
Write, test, and debug JavaScript regular expressions interactively with instant visual match highlighting and a live capture-group breakdown table.
Toggle g, i, m, and s flags or load ready-made presets for Emails, URLs, IPv4 addresses, and ISO dates.
How to Use Regex Tester
- Type your Regular Expression pattern or pick a preset.
- Select flags (g, i, m, s) and enter your test string.
- Inspect highlighted matches and capture groups live below.
Regex Tester FAQs
Which regex flavor does this tool use?
It runs your browser's native JavaScript ECMAScript RegExp engine, supporting lookaheads, capture groups, and modern flags.
What do the flags g, i, m, s mean?
g = global (all matches), i = case-insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines).