Home › Developer › Regex Tester

Regex Tester – Free Online Tool

Quick answer: Test regular expressions live and see every match with its position.

About this tool

Type a pattern and flags, paste your test text and see all matches instantly. Errors in the pattern are explained.

How to use the Regex Tester

  1. Enter your text, choose your file or set the options in the tool above.
  2. Click the action button for the result you want.
  3. Copy or download the output. Nothing leaves your device.

Why use ToolWorlds?

Frequently asked questions

What does the g flag do?
It finds all matches instead of stopping at the first.
Is my data safe?
Yes. Processing happens in your browser. Nothing you enter is sent to our servers.
Is it free?
Yes. It is free, with no sign-up or usage limit.

Related tools