Test regular expressions with real-time highlighting and capture groups.
Test JavaScript regular expressions with real-time match highlighting and capture group extraction. Type your pattern and test string — matches are highlighted instantly as you type.
This tool uses JavaScript's native RegExp engine. Key differences from other flavors: use \d for digits, \w for word characters, (?=...) for lookahead, (?<=...) for lookbehind (ES2018+), and (?<name>...) for named groups.
Format your JavaScript code with the JavaScript Formatter, test JSON data with the JSON Formatter, or build robots.txt rules with pattern matching.