Developer Tools / Regex Tester
Regex Tester
Test regular expressions against sample text and see matches highlighted.
/
/
Features
- Live match highlighting
- Supports regex flags (g, i, m, s)
- Runs entirely in your browser
- No registration required
How to Use
Step 1
Enter your regular expression and any flags (g, i, m, s).
Step 2
Paste your test text into the box below.
Step 3
Click Test Regex to see every match highlighted.
About This Tool
Regex Tester lets you write a regular expression, run it against test text, and instantly see every match highlighted, along with a live match count. Helpful for debugging patterns before using them in code.
Frequently Asked Questions
Is my text uploaded anywhere?
No, everything runs locally in your browser — nothing is sent to a server.
Which regex flags are supported?
All standard JavaScript flags: g, i, m, s, u, and y.