Test regular expressions with live matching, highlighting, and capture groups. Real-time validation as you type.
This free regex tester helps you test and validate regular expressions with live matching and highlighting. See matches in real-time as you type, view capture groups, and test different regex flags.
Common Patterns: \d (digit), \w (word character), \s (whitespace), . (any character), * (0 or more), + (1 or more), ? (0 or 1), {n} (exactly n), {n,m} (between n and m), ^ (start), $ (end), [abc] (character set), (group) (capture group).
Flags: g (global - find all matches), i (case-insensitive), m (multiline - ^ and $ match line breaks), s (dotAll - . matches newlines).
Use Cases: Form validation, data extraction, text parsing, search and replace, input sanitization, log analysis, URL routing, email validation, phone number formatting.