Matches
Matches will appear here...

Frequently Asked Questions

1. What regex syntax is supported?

Our regex tester uses JavaScript's regular expression syntax. It supports standard regex patterns including character classes (\d, \w, \s), quantifiers (+, *, ?, {n}, {n,m}), anchors (^, $), groups ((), (?:)), and alternation (|).

2. What flags are supported?

g (global): Find all matches, not just the first one. i (case-insensitive): Match regardless of case. m (multiline): ^ and $ match start/end of each line. s (dotall): Dot (.) matches newlines too.

3. Does it show match details?

Yes! Each match shows the matched text, its position in the string, and any captured groups. For global matches, all occurrences are displayed with their respective positions.

4. Common regex patterns

Email: `[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}`
Phone (US): `\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}`
URL: `https?:\/\/[^\s]+`
Date (YYYY-MM-DD): `\d{4}-\d{2}-\d{2}`