Regex Tester - Online Regular Expression Matcher & Debugger

Test, evaluate, and debug regular expressions in real time with syntax highlighting, flags, and match group inspections.

This tool runs in your browser.
Your result will appear here.

How to use

  1. 01Enter your regular expression pattern and toggle active flags (g, i, m, s).
  2. 02Paste sample text into the test area to run real-time regex matching.
  3. 03Inspect highlighted match positions and explore captured group values in the panel.

FAQ

Which regular expression flags are supported?

Supported flags include global search (g), case insensitive (i), multiline matching (m), dotAll mode (s), and full unicode support (u).

Does the tester support named capture groups?

Yes. Both standard numbered capture groups and named groups (?<group>...) are clearly categorized and displayed in the match inspector.

Is my input sample data safe during testing?

Yes. All regular expression evaluations happen purely in your local browser sandbox without transmitting your test data.