ztabs.digital services

Regex Tester

Test regular expressions against your text. Toggle flags, highlight matches, and inspect capture groups. Quick-insert common patterns for email, URL, and more.

Regex Pattern
Flags:
g=global, i=ignoreCase, m=multiline, s=dotAll
Test String

Regular Expressions Made Easy

Regular expressions are powerful for pattern matching in text. Our tester runs in your browser and shows matches highlighted in the test string, along with match count, index, value, and capture groups. Use the flag toggles: g for global (all matches), i for case-insensitive, m for multiline (^ and $ match line boundaries), and s for dotAll (dot matches newlines).

Quick Patterns

Start with built-in patterns for email, URL, phone number, IP address, date (YYYY-MM-DD), and hex color. Click a quick-insert button to load the pattern, then paste your test string to see matches. Invalid regex syntax is displayed as an error.

Related Tools