← All text tools

Regex tester

Test regular expressions live: highlighted matches and capture groups.

  • Free
  • No sign-up
  • Works on any device

About Regex tester

Type a pattern and sample text and see matches highlighted instantly, with capture groups listed and flags like g, i and m available. Greedy quantifiers such as .* match as much as possible, so add a question mark to make them lazy when a pattern grabs too much.

How to use Regex tester

  1. Type or paste your text in the box above.
  2. The result appears instantly as you type.
  3. Copy the result or download it as a file.

Why use this tool?

Also known as

Frequently asked questions

What does the g flag do in a regex?

The global flag finds all matches in the text instead of stopping after the first. Without it, only the first match is returned.

Is Regex tester free?

Yes. Regex tester on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

Related tools