Regex Tester
Test regular expressions with live matches, capture groups, and replace — 100% in your browser.
100% In-Browser & Private — your data never leaves this device
Loading tool...
How to use the Regex Tester
- Enter a pattern and toggle flags (g, i, m, s, u, y).
- Paste the text you want to search.
- Optionally set a replace string (supports $1 groups).
- Review matches and the replace result locally.
FAQ
- Is my text uploaded?
- No. Matching runs with JavaScript RegExp in your browser.
- Which flavor of regex is this?
- Your browser’s JavaScript regular expression engine (ECMAScript).
Related tools
More private, in-browser utilities you might need next.
Looking for more? Browse all developer tools · All tools