Saved tools
Shortcuts saved only in this browser. No inbox or email content is saved here.
🔎 Regex Tester
Test and debug regular expressions with real-time matching
Regex Testing
Results
Matches Found
0
Status
Valid
First Match
-
All Matches:
No matches
📝 Common Patterns
-
Email:
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$ -
URL:
https?://[^\s]+ -
Phone (US):
^\d{3}-\d{3}-\d{4}$ -
IP Address:
^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$
✨ Regex Cheat Sheet
.- Any character*- 0 or more times+- 1 or more times?- 0 or 1 time[]- Character class()- Group
Advertisement
About Regex Tester
Test a regular expression against sample text, with match highlighting, capture groups and flags.
How to use Regex Tester
- Enter the pattern and any flags such as g, i or m.
- Paste sample text and run the test.
- Inspect matches and groups, then copy the final pattern.
Common use cases
- Validating an email or slug format before shipping.
- Extracting IDs from a log line.
- Debugging a greedy quantifier that matches too much.
Common questions
Which regex flavour is used?
The current tester submits the pattern and text to the TMPMailer server and uses PHP PCRE. Results can differ from JavaScript regular expressions.
Why does my pattern work in one language but not another?
Escaping, named groups and lookaround syntax vary. Test in the target runtime before relying on a pattern.
Can I test very large inputs?
Yes, but catastrophic backtracking can freeze the tab. Simplify nested quantifiers if the page becomes unresponsive.
Keep going
Browse the full tools directory for related utilities, or open a free temporary email to run a signup end to end.
Advertisement