Regex Tester & Debugger
Test and debug Regular Expressions visually in your browser.
Advertisement
What is the Regex Tester & Debugger?
The Regex Tester executes JavaScript Regular Expressions against test strings in real-time, visually highlighting all matches, capturing groups, and reporting match indices.
Who is the Regex Tester & Debugger for?
Essential for developers writing input validation patterns, log parsing rules, and data transformation scripts.
How to Use the Regex Tester & Debugger
- Enter your regular expression pattern.
- Select flags (g, i, m).
- Type your test string.
- View live match highlighting and capture groups.
Worked Example
Frequently Asked Questions
Which RegEx engine is used?
Native JavaScript RegExp — the same engine in Node.js and all modern browsers.
Does it support lookaheads and lookbehinds?
Yes. JavaScript ES2018+ supports (?=...), (?!...), (?<=...) and (?<!...).
Related Developer Tools
Related Tools
All Developer ToolsText Compare
Compare two pieces of text side-by-side to spot differences.
JSON to TypeScript Generator
Convert JSON objects and API responses into clean, strongly typed TypeScript interfaces or type definitions.
JSON Schema Generator
Generate Draft-07 and 2020-12 compliant JSON Schema documents from sample JSON objects.