JSON Tools

Regex Tester

Test regular expressions with real-time matching and highlighting

//
Contact us at: - support@example.com - sales@company.org - john.doe@email.co.uk Invalid emails: - @invalid.com - missing@ - test@.com
Matches (3)
support@example.comsales@company.orgjohn.doe@email.co.uk
Flags Reference
g - Global search
i - Case-insensitive
m - Multiline
s - Dot matches newline
u - Unicode
y - Sticky

Regex Tester Guide

Test and debug regular expressions with real-time matching and highlighting.

What are Regular Expressions?

Regular expressions (regex) are patterns used to match character combinations in strings. They are powerful tools for searching, replacing, and validating text.

Common Flags
  • g - Find all matches
  • i - Ignore case
  • m - ^ and $ match line starts/ends
Common Use Cases
  • Validating email addresses
  • Extracting data from text
  • Search and replace operations
  • Input validation