Test JavaScript regular expressions against your text and see every match highlighted as you type. The tester uses the browser's built-in RegExp engine, so behaviour matches exactly what your JavaScript code will see at runtime. Runs entirely in your browser.
MODE
The tool uses the browser's native JavaScript RegExp engine. Patterns are compiled with new RegExp(pattern, flags) and results are computed synchronously. Invalid patterns show an error badge, they never crash the page.
Both the pattern and the test string are processed entirely in your browser. Our servers are not involved at any point.
For plain substring swaps without regex, try find and replace. To validate JSON patterns you are matching, use the JSON formatter. For decoding escape sequences in HTML attribute values, see HTML entities.