🔍

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 first
  • i — case-insensitive: ignore uppercase/lowercase
  • m — multiline: ^ and $ match line start/end
  • s — 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}