Regex Tester

Regex Tester

//g

Flags

How it works

This tool uses JavaScript's built-in RegExp engine to compile and test your regular expression in real time. Matches are highlighted directly in your test string, and capture group values are displayed in a table. All processing happens entirely in your browser -- no data is sent to any server. You can toggle flags (global, case-insensitive, multiline, dotAll) and use the quick reference to insert common patterns.