Test regular expressions with real-time matching, capture groups and common presets. 100% in your browser.
Enter a regular expression pattern and test string. The tool highlights all matches in real-time as you type, showing match groups, capture groups, and their positions. Toggle flags (global, case-insensitive, multiline, dotAll) with checkboxes. See a detailed match breakdown with group indices. All processing runs locally in JavaScript.
It uses JavaScript's native RegExp engine, which supports ECMAScript regex syntax including lookaheads, lookbehinds (ES2018+), named groups, and Unicode property escapes. Patterns written here will work directly in JavaScript, TypeScript, and Node.js code.
Yes. Enable the multiline (m) flag to make ^ and $ match the start and end of each line instead of the entire string. Enable dotAll (s) to make . match newline characters. Both are essential for parsing structured multiline text like logs or configuration files.
No. All regex matching runs entirely in your browser using JavaScript's RegExp engine. Your test strings — which may contain sensitive data like API keys, passwords, or personal information — never leave your device.
All calculations happen in your browser. No data is sent to any server.
SARA est votre agent IA sur WhatsApp : répond aux clients, prend les réservations, fait le suivi — 24/7, automatiquement. Essayez gratuitement 14 jours.
Démarrez votre essai gratuit de 14 jours →