Regex Tester & Debugger
Real-time JavaScript Regular Expression tester with match highlighting, capture group inspection, flags (`g`, `i`, `m`, `s`), and built-in presets for Email, URL, Phone, IPv4, and IBAN.
No matches found.
Embed "Regex Tester & Debugger" on Your Website
Copy and paste the snippet below into WordPress, Webflow, Ghost, or any HTML page to offer this interactive calculator to your visitors.
Live Embed Preview (How it looks on an external website):
Regex Tester & Debugger — How to Use
-
01
Enter your regular expression pattern and flags (`g`, `i`, `m`), or click a preset.
-
02
Type or paste your test string.
-
03
Inspect all matches, indices, and capture groups in real time.
Frequently Asked Questions
What do the g, i, and m flags mean?
`g` finds all matches globally, `i` makes matching case-insensitive, and `m` enables multiline mode for `^` and `$`.
Which regex engine does this tool use?
It uses your browser's native ECMAScript (JavaScript) `RegExp` engine.
Does it show capture groups?
Yes, every match lists its full match string as well as any numbered capture groups.
Recommended tools for your next task
JSON Formatter & Validator
Format, validate and minify JSON instantly in your browser
Text & Code Diff Checker
Compare two texts or code blocks side-by-side to highlight added and removed lines
JSON ↔ CSV Converter
Convert JSON arrays to Excel-ready CSV or turn CSV tables into JSON
HTML, CSS & JS Minifier
Minify HTML, CSS and JavaScript code to reduce file size and boost page speed
Markdown Live Editor & HTML Converter
Write Markdown with real-time preview and convert it to clean HTML markup
Cron Expression Generator & Explainer
Build and explain 5-field Crontab schedules for Linux, GitHub Actions & Node.js
Related Guides & Articles
5 min read
The Complete Guide to Free Browser-First Developer, Media & SEO Tools
Discover how browser-side utilities for JSON formatting, image compression, YouTube downloading, and SEO meta tag generation speed up your daily workflow without sacrificing privacy.
1 min read
Why Digital Privacy Matters More Than Ever
1 min read