Developer Tools
Regex Tester
Test regular expressions against sample text.
Runs locally in your browser — your input is not uploaded.
Enter a pattern and test text.
How to use
- Enter a pattern and optional flags (g, i, m, s, u, y, d).
- Paste the text you want to test against.
- Review matches, indexes, and capture groups.
About this tool
Regular expressions are patterns that describe sets of strings. JavaScript uses the ECMAScript regex dialect with flags for global matching, case-insensitivity, multiline anchors, and more.
ToolForge runs your pattern with the native RegExp engine and guards against runaway zero-length match loops.
Examples
Find emails (simple)
Pattern: [a-z]+@[a-z]+\.[a-z]+ against hello@example.com
hello@example.com
hello@example.com
FAQ
Which regex flavor is this?
ECMAScript / JavaScript — the same engine your browser uses.
Related tools
Want more power later?
Premium tools, higher limits, and API access are on the roadmap. V1 stays free and private in your browser.