.*

Regex Tester

Free

Write a regex pattern and test it against any text in real time. See match highlights, capture groups, match count, and flags (global, case-insensitive, multiline). Invaluable for debugging complex patterns.

/
/

How to Use Regex Tester

  1. 1

    Enter your regular expression pattern in the top "Pattern" field — no delimiters needed, just the pattern itself.

  2. 2

    Use the flag toggles to enable global (g), case-insensitive (i), multiline (m), or dotAll (s) matching.

  3. 3

    Type or paste your test string in the large text area below. Matches are highlighted live as you type.

  4. 4

    Review the results panel — it shows total match count, all matched substrings, and any captured groups for each match.

Features

  • Live match highlighting
  • Capture group display
  • Flags support (g, i, m, s)
  • Match count
  • Error detection for invalid patterns

Frequently Asked Questions

Which regex flavour is used?

JavaScript's built-in RegExp engine, which follows the ECMAScript specification. Most patterns are compatible with other languages with minor adjustments.