Regex Tester

Test JavaScript regular expressions with flags. See matches, groups, and highlighted output.

Highlighted
Hello world! Hello regex.
Matches (0)
No matches.

How to use

  1. Enter a regex pattern and flags (g, i, m, s, u, y).
  2. Paste your test text.
  3. Review matches and groups.