Regex Tester

Validate regex patterns with instant highlights, capture group tables, and friendly presets.

Regex Tester
Preview JavaScript regular expressions with match highlights, capture groups, and helpful presets.
Input chars: 93
/[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,}/gm

Find every match

Case-insensitive

^ and $ per line

Allow . to span lines

Full Unicode mode

Matches (3)

invite ken@easy-pdf.dev or mia@pdf.tools for the beta list\nbackup: ops@sub.mail.easy-pdf.dev
#MatchIndex
1ken@easy-pdf.dev7
2mia@pdf.tools27
3ops@sub.mail.easy-pdf.dev68

How to Use

1

Paste or type your regex, then add sample input text.

2

Toggle flags (global, multiline, etc.) to match your runtime environment.

3

Inspect highlighted matches and capture groups, then copy the results for docs or code reviews.

Frequently Asked Questions

Ready to transform your PDF workflow?

Join thousands of users who trust our privacy-focused PDF tools.

100% PrivateNo Sign-up RequiredFree Forever

Supported By

Adnan Shaikh
Adnan ShaikhBronze Supporter
YOUR LOGO HEREBecome a Sponsor