Skip to content
  • No data uploaded
  • Instant results

Regex Tester

Type a pattern and flags to highlight matches in your test text instantly.

Regex Tester

Matches2/\b[\w.+-]+@[\w-]+\.[\w.]+\b/gi
Contact sales@example.com or support@test.co.uk — not user@invalid
Match details
#MatchIndexGroups
1sales@example.com8—
2support@test.co.uk29—

JavaScript (ECMAScript) regular expressions. Without the g flag only the first match is used by String.match — this tester always lists all matches.

Free Regex Tester by pGento

Frequently asked questions

Is my data uploaded?
No. The calculation runs entirely in your browser — nothing you type is sent to a server.
Is it free?
Yes — free, unlimited and no sign-up.
Regex Tester

Embed this tool on your site

Paste this code into any web page. It stays free, fast and ad-free inside your site.

Print or save as PDF

Prints just this tool and its result. Choose “Save as PDF” as the printer to get a file. Branding is stored only in this browser.