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
  1. Enter your Pattern: Type your regular expression pattern in the first input field (without the slashes).
  2. Add Flags: Enter any regex flags (like `g` for global, `i` for case-insensitive) in the small flags input field.
  3. Provide a Test String: Paste or type the text you want to test your regex against in the 'Test String' area.
  4. 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