Test Regular Expressions with Live Matching
Type a regex pattern and test string, and see matches highlighted in real time. View capture groups, match indices, and a breakdown of what your pattern does.
Perfect for building and debugging regular expressions before dropping them into code. Supports JavaScript regex flags and provides clear explanations of complex patterns.
Frequently Asked Questions — Regex Tester
JavaScript (ECMAScript). Flags like g, i, m, s, and u are supported.
Yes. Named and numbered capture groups are displayed with their matched content.
Yes. Enter a replacement pattern and see the substituted output. Supports backreferences like $1 and named groups.
More Developer Tools
Code Editor
Preview, format, and diff code with syntax highlighting. Supports 15+ languages.
JS Obfuscator
Obfuscate & deobfuscate JavaScript code. Multiple protection levels.
TypeScript to JavaScript
Convert TypeScript code to JavaScript by removing type annotations.
JSON Viewer
Prettify, minify, and explore JSON with a foldable tree view.
XML Viewer
Format, minify, and browse XML documents in a foldable tree.
JSON to TypeScript
Convert JSON objects to TypeScript interfaces or types.
JSON Diff
Compare two JSON documents and visualize differences in a tree view.
JSON Sorter
Sort JSON object keys alphabetically with customizable indentation.