Skip to content
TinyTools
Developer

Regex Tester

Test regular expressions with live highlighting and capture groups.

Test patterns before you ship them

Regular expressions describe text patterns and are used for validation, search and replace. A live tester shows exactly what matches, so you can fix a pattern in seconds.

This tester uses the JavaScript regular expression engine in your browser. Matches are highlighted and every capture group is listed.

How to use the Regex Tester

  1. 1Enter your regular expression.
  2. 2Toggle flags and paste a test string.
  3. 3Review highlighted matches and groups.

Frequently asked questions

Which regex flavor is used?

JavaScript (ECMAScript), as in your browser.

Is my text uploaded?

No. Matching runs locally.

More Developer tools