Regex Tester
Test your Regular Expressions live: numbered matches with each one's position in the text, named and numeric capture groups displayed under every match, and optional flags (g, i, m, s, u) — with precise error messages for invalid patterns.
How to use this tool?
- You pick your files
Straight from your device — no upload, no waiting
- Your browser processes them
Everything runs locally on your own hardware
- You download the result
Output files are built and saved on your device instantly
FAQ
What differs with the g flag on or off?
Without g you see only the first match with its details. With g all matches are numbered — usually what you want while experimenting.
What does the u flag do?
It enables full Unicode mode: proper code-point escapes and correct handling of non-BMP characters — essential for emoji and composed Arabic text.
Why do results differ from my programming language?
Regex engines vary slightly across languages — this tool uses the standard JavaScript engine (V8), the same one in browsers and Node.js.