🔍 Regex Tester
Test JavaScript regular expressions.
Regex
Sponsored
How it works
How it works
Patterns are compiled with JavaScript's RegExp engine. Using String.matchAll lists all non‑overlapping matches.
- Flags: g (global), i (case‑insensitive), m (multiline), s (dotAll), u (Unicode), y (sticky).
- Some features (lookbehind) require modern engines; older browsers may not support them.
- Beware of catastrophic backtracking in poorly designed patterns.
Privacy & Security
Everything runs locally.
Sponsored
Accuracy, Limits & Tips
Lookbehind support depends on your browser.
Examples
- Find all email-like substrings in text.
Related tools
Sponsored
You may also like
Looking for broader guides and best practices? Visit the ToolsAreUs Blog for indexes (like the full tool list) and articles (e.g. secure password generation).