Developer ToolsDebugging ToolsFree Tool

Regex Tester

Test a regex pattern against sample text and see every match, using the real JavaScript regex engine.

How to Use Regex Tester
  1. 1Enter your regex pattern
  2. 2Add a line with ---, then your test text
  3. 3Click Process
  4. 4Review the list of matches found
Frequently Asked Questions

Your regex pattern, then a line with just ---, then the text to test it against.

Real — it constructs an actual JavaScript RegExp with the global flag and calls .match() against your test string, so results reflect genuine regex engine behavior.

No — this tool only lists the matched substrings. Use the Regex Debugger tool for match index and named/numbered group details.

No — matching happens entirely in your browser.

Related Tools

Related Articles

More from Developer Tools