Regex Tester

Test and debug regular expressions with live match highlighting.

//

About the Regex Tester

Regular expressions are powerful but notoriously hard to write correctly. Our regex tester highlights matches in real time so you can iterate quickly without any copy-paste back and forth.

How to use the Regex Tester

  1. Enter your regex pattern.
  2. Set flags (g, i, m) as needed.
  3. Paste your test string matches highlight automatically.

Frequently Asked Questions

Which regex flavour does it support?
JavaScript regex (the built-in RegExp object), which is ECMA-262 compliant.

Related guides