← All ToolsFree · no sign-up Global finds every match, not just the first. Case-insensitive ignores letter case. Multiline makes ^ and $ match at line breaks. Dot matches newline lets . span lines.
Regex Tester
Write a regular expression and see its matches highlighted live against your test text.
- Enter a pattern and flags
- Paste sample text
- See matches highlighted
The regular expression body, without the surrounding slashes. Uses JavaScript regex syntax.
Frequently asked questions
- It uses your browser’s built-in JavaScript RegExp engine, so any flags and patterns you test behave exactly the way they would in JS code.
- Standard JavaScript flags are supported, including g (global), i (case-insensitive), m (multiline) and s (dotAll) — set them alongside your pattern.
- Yes — matches are highlighted in the sample text and capture groups from each match are broken out so you can verify your groups are extracting the right pieces.
- No. Matching runs entirely client-side in your browser — nothing you type is uploaded or stored.
- No. It runs entirely in your browser — no software install, no account, no email required.
Which regex flavor does this tester use?
What flags can I use?
Does it show capture groups, not just full matches?
Is my text or pattern sent to a server?
Do I need to install anything or sign up?
Advertisement