Home
Tom Utilities

Regex Tester

Developer Utilities

Test regular expressions against sample text and inspect every match and capture group.

How to use

Testing a pattern

Enter a pattern and flags, provide sample text, and matches are highlighted as you type.

  1. Type the regular expression.
  2. Select flags such as global or case insensitive.
  3. Read the highlighted matches and groups.

Frequently asked questions

Which regex flavour is used?

The JavaScript RegExp engine, so it matches how your browser interprets patterns.

Can a pattern freeze the page?

A high match limit protects against runaway patterns and shows a warning if the limit is reached.