πŸ’» Regex Tester β€” Test Patterns Live

Enter a pattern and flags, paste test text, and see matches highlighted with capture groups explained.

Developer Free Β· no sign-up Added 2026-10-20
Input
Result

Private by design. This tool runs entirely in your browser β€” nothing you enter or add is uploaded to any server.

How it works

  1. Enter your regular expression pattern and optional flags (g, i, m, etc.).
  2. Paste the text you want to test against.
  3. Click Test Regex to see all matches and their capture groups.

Examples

  • Pattern \b\w+@\w+\.\w+\b with flag gi finds email addresses.
  • Use capturing groups like (\d{4})-(\d{2})-(\d{2}) to extract date parts.
  • The global flag g finds every match instead of only the first.

Frequently asked questions

Which regex flavor is used?

JavaScript's native RegExp engine, so lookbehind and other modern features work where the browser supports them.

Are my patterns or text sent anywhere?

No. Matching runs entirely in the browser.

How do I see capture groups?

Each match line shows the full match followed by any numbered or named groups.