Advertisement
← All Tools
Free · no sign-up

Regex Tester

Write a regular expression and see its matches highlighted live against your test text.

  1. Enter a pattern and flags
  2. Paste sample text
  3. See matches highlighted

Frequently asked questions

Which regex flavor does this tester use?
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.
What flags can I use?
Standard JavaScript flags are supported, including g (global), i (case-insensitive), m (multiline) and s (dotAll) — set them alongside your pattern.
Does it show capture groups, not just full matches?
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.
Is my text or pattern sent to a server?
No. Matching runs entirely client-side in your browser — nothing you type is uploaded or stored.
Do I need to install anything or sign up?
No. It runs entirely in your browser — no software install, no account, no email required.
Advertisement
Advertisement