Regex Tester
Test regular expressions with live match highlighting and groups. Free, no sign-up, works in your browser.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to use the regex tester
- Type a regular expression and its flags (g, i, m, s, u, y).
- Paste the text to test — matches are highlighted as you type.
- See every match with its position and capture groups, and try a replacement.
Uses the JavaScript (ECMAScript) regex engine, the same one used in browsers and Node.js, with support for named groups, lookbehind and Unicode property escapes like \p{L}. Handy for checking validation patterns, log parsing and search-and-replace before you put them in code.