Back to tools

Web and Developer

Regex Tester

Test regular expressions against sample text.

Processed in your browser
100% Client-Side

Your files and text never leave your computer. Your pattern and sample text stay in your browser. They are not uploaded, stored or sent to a Chrysoro server.

Complex regular expressions can be slow in the browser. The test only runs when you start it and shows at most 100 matches.

0 matchesNo tested matches yet.

How to use

  1. Enter a regex pattern.
  2. Choose flags such as g, i or m.
  3. Paste short sample text.
  4. Select Test regex.
  5. Review matches or the validation error.

Frequently asked questions

Can a regex be slow?

Yes. Some patterns can be expensive, so this browser version uses an explicit test action, caps the sample size and limits displayed matches.

Does it upload the sample text?

No. Matching happens locally in the browser.