Regex Tester
Test and debug regular expressions with real-time matching and explanation
//gi
2 matches
Contact us at hello@example.com or support@test.org for help.
| # | Match | Index | Groups |
|---|---|---|---|
| 1 | hello@example.com | 14 | — |
| 2 | support@test.org | 35 | — |
Frequently Asked Questions
What is a regular expression?▼
A regular expression (regex) is a sequence of characters that defines a search pattern. It's used in programming for string matching, searching, and text manipulation.
What do the flags mean?▼
g (global) finds all matches, i (case-insensitive) ignores case, m (multiline) makes ^ and $ match line boundaries, s (dotAll) makes . match newlines.