Director de instrumente gratuit / Alte instrumente / Regex Tester

Regex Tester

Tester regex gratuit: testați o expresie obișnuită în raport cu textul dvs., vedeți potrivirile evidențiate și inspectați fiecare grup de captură. Steaguri reglabile.

Testați o expresie obișnuită în raport cu textul dvs. și vedeți fiecare potrivire evidențiată, fiecare grup de captură fiind enumerat separat. Reglați steaguri și retestați până când modelul prinde exact ceea ce doriți. Utilizați-l în timp ce scrieți un model de validare pentru adrese de e-mail sau numere de telefon înainte de a-l insera în cod.

Deschideți instrumentul →

Utilizare gratuită, fără înregistrare. Instrumentul se deschide pe propria pagină și rulează în browser.

Ai nevoie de mai mult? Treci Pro

Pro: download your Regex results as CSV & save history, $5 one-time

Obțineți Pro →

Alipay — $5

Sau deblocați fiecare unealtă cu All-Access Pro — $15 o dată.

Obțineți acces integral — $15 o dată

Alipay — $15

Prețurile sunt ajustate în funcție de țară, astfel încât același instrument costă mai puțin acolo unde veniturile sunt mai mici - vedeți prețul pentru țara dvs.

Preferi Alipay? Vedeți toate opțiunile de plată.

Deja plătit? Conectați-vă la Pro

Cum să-l folosești

  1. Type a regular expression and pick flags.
  2. Paste the text to test against.
  3. Press Test regex to see matches highlighted and capture groups listed.

Întrebări comune

What are capture groups?

Parts of a pattern inside parentheses. Each group is listed separately in the table, so you can see exactly what each part of the pattern matched — useful when you want to extract pieces of text, not just find them.

Why does my pattern match nothing?

Check that the pattern really describes your text: a missing escape (\d, not d), a flag you forgot (i for case), or ^ and $ without the m flag on multi-line text are the usual suspects.

Can a regex freeze my page?

Yes — a pattern like (a+)+$ on a long string of a's can take exponentially long to test. This is called catastrophic backtracking. Keep patterns simple, avoid nested quantifiers, and test on short text first. This tool caps the match loop, but a single slow match can still hang the page, so test risky patterns on a few characters first.

Mai multe instrumente Alte instrumente

← Înapoi la toate instrumentele · Răsfoiți ghiduri