Regex Tester

Free online regex tester. Test regular expression patterns with live matching and syntax highlighting.

developerFree & Private

FAQ

What is a regular expression?

A regex (regular expression) is a sequence of characters defining a search pattern used for text matching.

What flags are supported?

Global (g), Case-insensitive (i), Multiline (m), and Dot-matches-all (s) flags are supported.

Use Cases

Email Validation

Validate email addresses with regex patterns

Text Search

Find and replace patterns in text

Examples

Email Pattern

Input:

[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}

Output:

Matches valid email formats