Free Tool Directory / Drugi alati / Regex Tester

Regex Tester

Besplatni tester regularnih izraza: testirajte regularni izraz u odnosu na vaš tekst, pogledajte istaknuta podudaranja i pregledajte svaku grupu snimanja. Zastavice podesive.

Testirajte regularni izraz u odnosu na vaš tekst i vidite da je svako podudaranje istaknuto, sa svakom grupom za snimanje zasebno naveden. Podesite zastavice i ponovo testirajte sve dok uzorak ne uhvati tačno ono što želite. Koristite ga dok pišete obrazac validacije za adrese e-pošte ili telefonske brojeve prije nego što ga zalijepite u svoj kod.

Otvori alat →

Besplatno za korištenje, bez registracije. Alat se otvara na vlastitoj stranici i radi u vašem pretraživaču.

Trebate više? Go Pro

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

Nabavite Pro →

Alipay — $5

Ili otključajte svaki alat uz All-Access Pro — $15 jednom.

Dobijte potpuni pristup — $15 jednom

Alipay — $15

Cijene se prilagođavaju po zemljama tako da isti alat košta manje tamo gdje su prihodi niži — vidite cijenu za svoju zemlju.

Želite Alipay? Pogledajte sve opcije plaćanja.

Već ste plaćeni? Prijavite se na Pro

Kako ga koristiti

  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.

Uobičajena pitanja

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.

Više Drugi alati alata

← Povratak na sve alate · Pregledajte vodiče