Regex Tester

Test and debug regular expressions with live match highlighting.

  • Fastest ResultsInstant, no waiting
  • Privacy First100% local
  • No LoginJust open & use
  • Mobile FriendlyWorks on any device
/ /
Test string
0 matches
Matches
Auto-updated

How to Use

  1. Type your regular expression in the pattern field.
  2. Set flags (e.g. g, i, m) in the small box after the slash.
  3. Paste the text to test into the Test string box.
  4. Matches highlight live, with capture groups listed below.
  5. Click Copy matches to copy every match.

Examples

/\b[\w.+-]+@[\w-]+\.[\w.-]+\b/g
Contact us at [email protected] or [email protected].

Frequently Asked Questions

Last updated: Aug 3, 2026