Home / Developer / Regex Tester

.* Regex Tester

Test regular expressions with live highlighting and capture groups.

About the Regex Tester

Write a regular expression and test it against your text with live highlighting. Every match is listed with its position and capture groups, and errors in the pattern are explained.

How to use it

  1. Enter your pattern and flags (for example g or i).
  2. Paste the text to test.
  3. See highlighted matches and groups.

Frequently asked questions

Which regex flavour is used?

JavaScript (ECMAScript) regular expressions, the same as in browsers and Node.js.

Related tools