Test a regular expression against sample text and see every match and capture group highlighted, right in your browser.
Regular expressions are powerful but easy to get wrong. This tester runs your pattern against sample text and shows every match and capture group, so you can fix the pattern before it goes into your code.
Type the pattern, choose flags such as global or case-insensitive, and paste sample text. Matches are listed as you type. The tool uses the JavaScript regex engine, which differs slightly from engines in some other languages.
Everything runs in your browser. Free, with no sign-up.
This tool uses JavaScript regular expressions, the same engine used by browsers and Node.js.
No. Matching runs locally using the browser's built-in RegExp engine.