Regex Tester
FeaturedDeveloper ToolsAn advanced regex tester with live match highlighting, capture group display, flag toggles, replace mode, and a built-in library of common patterns. Debug regular expressions instantly.
//g
Flags:
Match highlights appear here
Related Tools
JSON Formatter
Format, validate, and beautify JSON with syntax highlighting.
Code Beautifier
Beautify minified code in JS, TypeScript, HTML, CSS, JSON, and XML.
SQL Formatter
Beautify SQL queries with dialect support and customizable indentation.
HTML/CSS/JS Minifier
Minify HTML, CSS, and JavaScript to reduce file size for production.
Frequently Asked Questions
What regex flags are supported?
All standard JavaScript regex flags are supported: g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), and y (sticky).
Can I use capture groups?
Yes. Named and numbered capture groups are both supported and displayed with their matched values in the results panel.
Does it support lookahead and lookbehind?
Yes, all modern regex features including lookahead, lookbehind, and non-capturing groups are supported.