Developer & Design 100% Client-Side
Live Regular Expression (Regex) Tester & Highlighter
Test JavaScript regular expressions with real-time match highlighting, capture groups, flags, and replace preview.
//g
2 matches
Contact support at contact@calcism.com or admin@example.org.
Visit https://calcism.com/tools/regex-tester/ on 2026-11-24.
Brand colors: #0d9488 and #2dd4bf from server 192.168.1.42.
| # | Match | Index | Capture Groups |
|---|---|---|---|
| 1 | contact@calcism.com | 19 | β |
| 2 | admin@example.org | 42 | β |
How to Use This Tool
- Enter any JavaScript regular expression or click a common preset (Email, URL, ISO Date, Hex Color, IPv4).
- Toggle flags (g, i, m, s) and watch every match highlight live inside your test text.
- Inspect capture groups in the match table or test a replacement string using $1, $2 backreferences.
Privacy & Accuracy
All calculations run directly inside your browser. No input values are sent to any external server.
Frequently Asked Questions
Which regex flavor does this tester use?
It uses your browserβs native ECMAScript (JavaScript) RegExp engine, supporting lookaheads, lookbehinds, named capture groups, and dotAll (/s).
Related Tools
Text & Code Diff Checker
Compare two blocks of text, code, or JSON configs side-by-side with line-by-line additions and deletions.
JSON Formatter
Format, validate, minify, and sort keys in JSON locally in your browser with zero server uploads.
Cron Explainer
Translate 5-field cron schedules into plain English and preview the next 5 upcoming execution times.