Regex Tester
Test regular expressions against your text. Toggle flags, highlight matches, and inspect capture groups. Quick-insert common patterns for email, URL, and more.
Regular Expressions Made Easy
Regular expressions are powerful for pattern matching in text. Our tester runs in your browser and shows matches highlighted in the test string, along with match count, index, value, and capture groups. Use the flag toggles: g for global (all matches), i for case-insensitive, m for multiline (^ and $ match line boundaries), and s for dotAll (dot matches newlines).
Quick Patterns
Start with built-in patterns for email, URL, phone number, IP address, date (YYYY-MM-DD), and hex color. Click a quick-insert button to load the pattern, then paste your test string to see matches. Invalid regex syntax is displayed as an error.
Related Tools
- JSON Formatter — Format and validate JSON.
- Base64 Encoder / Decoder — Encode and decode Base64.
- All Free Tools