Pronto Arquivo
☰

Regex Tester

Write the pattern, paste your text and instantly see what it matches.

  • Never leaves your device
  • No sign-up

2 matches

Contact: emma@example.com and liam@company.com

Quick answer: To test a regex, write the pattern, choose the flags (g, i, m, s, u) and paste your test text. Matches are highlighted, capture groups appear in a table and, if you like, you can preview a replacement using $1, $2.

How to do it in 3 steps

  1. 1Write the regular expression.
  2. 2Paste the test text.
  3. 3See the highlights and groups.

Why use Pronto Arquivo

Real-time highlighting

Matches are marked as you type.

Capture groups

A table of every group in every match.

Replace

Test replace with $1, $2.

Shortcuts

Email, URL, date, numbers and ZIP code patterns ready to use.

Guides

Syntax

Uses the JavaScript engine, the same as Node.js and browsers, with named groups and lookbehind.

Frequently asked questions

What is a regex?

A regular expression: a pattern for finding or validating text, like emails and dates.

Which syntax does it use?

JavaScript (ECMAScript).

What does the g flag mean?

Global: it finds every match, not just the first.

Is my text uploaded?

No. Everything is processed in your browser.

More tools