Regex Tester
Test, debug, and build regular expressions in real-time with live match highlighting.
//g
Features
- Real-time match highlighting as you type
- Supports all standard regex flags (g, i, m, s, u)
- Displays capture groups and named groups
- Shows match count and positions
- 100% client-side, no data leaves your browser
Use Cases
- Validating form input patterns (email, phone, URL)
- Writing log parsing scripts
- Data extraction and text manipulation
How to Use
- Enter your regular expression in the Regex field.
- Select flags if needed (g, i, m...).
- Type or paste your test string in the Test area to see matches highlighted.