Test regular expressions with live highlighting and capture group extraction. Everything runs in your browser — nothing is sent to a server.
Features
- Live matching — See matches highlighted in real time as you type your pattern.
- Capture groups — View numbered and named capture groups for each match.
- Flags support — Toggle global (g), case-insensitive (i), multiline (m), and other flags.
Common Regex Patterns
- Email —
[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,} - URL —
https?://[^\s/$.?#].[^\s]* - IP Address —
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b - Date (YYYY-MM-DD) —
\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\d|3[01])
Privacy
This tool uses JavaScript’s built-in RegExp engine. Your patterns and test strings never leave your browser.
Pattern
/
/
Uses JavaScript (ECMAScript) regex engine. PCRE-only features like recursive patterns (?R), possessive quantifiers, and atomic groups are not supported.