Regex Tester

Test JavaScript regular expressions live, with highlighted matches and capture groups.

How to use

  1. Type a pattern and flags (g, i, m, s, u).
  2. Matches highlight as you type; capture groups are listed below.

FAQ

Which regex flavour?

JavaScript (ECMAScript). Most syntax also works in Python and PHP.

Open Regex Tester · All free tools