Regex Tester

Test JavaScript regular expressions with live match highlighting and capture-group inspection. Free regex tester, runs locally.

About this Regex Tester tool

CheckHub runs your regex against test text in real time, highlighting matches and listing capture groups for every match.

How to use the Regex Tester

  1. Step 1. Enter a regex pattern and flags.
  2. Step 2. Paste test text.
  3. Step 3. Read matches and capture groups.

Frequently asked questions

Which regex flavor does this use?
JavaScript RegExp. Subtle differences exist vs PCRE/Python — most basic patterns are portable.

Related Utility Tools