🔍

Regex Tester

Test and debug regular expressions in real time. Highlights all matches, shows capture groups, supports all JS flags. Free regex tester with match count and explanation.

//gi
Contact us at hello@yourtools.com or support@example.org for help.
Match Details
#1hello@yourtools.comindex: 14
#2support@example.orgindex: 37

About This Tool

Test and debug regular expressions instantly with real-time match highlighting. See all matches, capture groups, and named groups. Supports all JavaScript regex flags: global, case-insensitive, multiline, dotAll, unicode, and sticky.

How It Works

1

Enter your regular expression in the pattern field

2

Select any flags (g, i, m, s, u, y)

3

Paste your test string — matches highlight immediately

4

Inspect each match and its capture groups below

Frequently Asked Questions

Related Tools

Free Text Diff Checker
Compare two texts or code files online. Instantly see added, removed, an
JSON Formatter & Validator
Format, beautify, validate, and minify JSON online for free. Instantly s
URL Encoder & Decoder
Encode and decode URLs online instantly. Percent-encode special characte
🔒100% Private — runs in your browser
No uploads — instant results
🆓Always free — no sign-up
📱Works on mobile & desktop