Regex Tester

Test regular expressions with instant matching, capture groups, and highlighted results.

Pattern

//

Test String

Matches

Capture Groups

Quick Reference

. Any char\d Digit\w Word char\s Whitespace^ Start$ End* Zero or more+ One or more? Optionaln,m N to M(...) Capture group(?:...) Non-capture

Frequently Asked Questions

What regex flavors are supported?

This tool uses your browser's JavaScript RegExp engine, which supports ES2024+ features including named groups, lookbehind, and Unicode property escapes.

What are common regex flags?

g = global (all matches), i = case-insensitive, m = multiline, s = dotAll, u = Unicode.

Is my data sent anywhere?

No. All processing is done client-side in your browser.