Skip to main content
DevToys
Testers

Regular expression tester

Inspect matches and capture groups

Expression settings
Test text
Matches (2)
  • Helloindex 0
    word
    Hello
  • DevToysindex 6
    word
    DevToys
How to use / Notes

How to use

  1. Enter the regex pattern and flags (g, i, etc.).
  2. Enter the text to test against.
  3. Matches and capture groups are highlighted.

Notes

  • Uses the JavaScript regex engine—syntax differs from some other languages.
  • Complex patterns can become very slow on some inputs (catastrophic backtracking).