Regular Expression Tester
Pattern + flags + test string → live matches, groups and highlighting.
Quick answer: Free regex tester: test JavaScript regular expressions with live match highlighting and capture groups. Cheat-sheet included. Runs in your browser.
Quick cheat sheet
How to use
- Open this page on any device — no signup needed.
- Fill in the fields above.
- Get your result instantly — nothing is uploaded.
About this tool
Regular expressions (regex) find patterns in text — emails, phones, log lines, code. This tester runs your pattern against a test string with live highlighting and shows capture groups per match. Flags control behaviour: g (all matches), i (case-insensitive), m (multiline anchors). Start with \d+ (digits) or \w+@\w+\.\w+ (simple email) from the cheat sheet.
FAQ
Which regex flavor is used?
Why does my match loop forever?
What are capture groups?
People also searched
Related tools
JSON Formatter
Developer Tools
🔀CSV to JSON Converter
Developer Tools
🔤Base64 Encoder / Decoder
Developer Tools
🌐URL Encoder / Decoder
Developer Tools
#️⃣Hash Generator (SHA-256)
Developer Tools
🆔UUID Generator
Developer Tools
⏱️Epoch Timestamp Converter
Developer Tools
🎟️JWT Decoder
Developer Tools
⏰Cron Expression Generator
Developer Tools
🔢AI Token Counter
Developer Tools
🧪Fake Person Generator
Developer Tools
📧Fake Email Generator
Developer Tools
✅Credit Card Validator
Developer Tools
📱Phone Number Validator
Developer Tools
📨Email Validator
Developer Tools