Regex Tester
Test and debug regular expressions in real-time.
Regular Expression
//
Highlighted Matches
You can reach me at test@example.com or contact@another-domain.co.uk.
Match Information
2 matches found.
test@example.com
Index: 20
contact@another-domain.co.uk
Index: 40
How to Use the Free Online Regex Tester
- Enter your Pattern: Type your regular expression pattern in the first input field (without the slashes).
- Add Flags: Enter any regex flags (like `g` for global, `i` for case-insensitive) in the small flags input field.
- Provide a Test String: Paste or type the text you want to test your regex against in the 'Test String' area.
- See Live Results: The tool will instantly update, highlighting all matches in your test string and listing them individually. Any regex errors will be shown immediately.
Frequently Asked Questions