Regex tester

Write a regular expression and see what it matches as you type, including capture groups and a replace preview.

Private: your text never leaves your device

Flags

Matches
Replace

How to use Regex Tester

  1. Enter your pattern and pick flags.
  2. Paste the text to test against.
  3. Check the highlighted matches and groups.

More developer tools