Regex Tester

Featured

Build and test JavaScript regular expressions live with match counts and results.

Share
2 matches
1. hello@example.com
2. bob@test.org

About the Regex Tester

Test JavaScript regular expressions against sample text with real-time match highlighting, flags, and capture-group inspection.

How to use the Regex Tester

  1. 1Enter your regular expression and flags.
  2. 2Paste sample text.
  3. 3Read the highlighted matches and inspect capture groups.

Why people use it

  • Prototype a validation pattern before shipping it.
  • Debug why a match is failing on live data.
  • Learn regex by experimenting safely.

Frequently asked questions

Which regex flavour?

The JavaScript flavour — the same as `new RegExp(...)` in the browser. PCRE-only features (some lookbehind quirks, named-group syntax) may differ.

Related tools you might like