DT
DevToolBox

Regex Tester

Test your regular expressions against sample text with real-time match highlighting. Supports all JavaScript regex flags.

Ad Space (regex-top)
//g
Flags:

Common Patterns

Ad Space (regex-bottom)

About This Tool

Test and debug regular expressions in real-time. See all matches highlighted in your test string, with match groups and indices displayed clearly.

Supports JavaScript regex flags: global (g), case-insensitive (i), multiline (m), dotAll (s), and unicode (u).

Includes a library of common regex patterns for emails, URLs, phone numbers, and more.