🔍
Regex Tester
Test regular expressions with highlight and groups
Risultato con highlight
How to use regular expressions
Regular expressions (regex) are a language for searching text patterns. They're everywhere: form validation, log parsing, advanced search & replace, data extraction. Our tester shows in real-time which parts of the text match, which groups are captured, and reports syntax errors.
Common flags
g— global: find all matches, not just the firsti— case-insensitive: ignore uppercase/lowercasem— multiline:^and$match line start/ends— dotall:.matches newlines too
Frequently asked questions
What are the most used regex?
Email: ^[\w.-]+@[\w.-]+\.\w+$ — URL: https?://\S+ — IPv4: \d{1,3}(\.\d{1,3}){3} — ISO date: \d{4}-\d{2}-\d{2}