IT-tools

Regex tester

Test regular expressions against sample text with global, case-insensitive, multiline, and other flags. Inspect matches, groups, and indexes.

Flags/g
Matches0 matches

Enter a pattern and test string.

// About this tool

Iterate on a regex and see exactly what it matches. Paste a pattern and text, toggle flags, and review each match with capture groups. Capture groups and match indexes are listed.

// How to use it

  1. Enter the pattern and test text.
  2. Toggle the flags you need.
  3. Review matches, groups, and indexes.

// Frequently asked questions

Does it use JavaScript regex syntax?

Yes. Patterns are evaluated with the browser RegExp engine and JavaScript flags.

Are matches limited?

The tool caps the number of reported matches to keep the page responsive.