Katalog besplatnih alata / Ostali alati / Regex Tester

Regex Tester

Besplatan tester regularnih izraza: testirajte regularni izraz u odnosu na svoj tekst, pogledajte istaknute podudarnosti i provjerite svaku grupu za snimanje. Zastavice podesive.

Testirajte regularni izraz u odnosu na svoj tekst i pogledajte svako podudaranje označeno, sa svakom grupom za snimanje zasebno navedenom. Podesite zastavice i ponovno testirajte dok uzorak ne uhvati točno ono što želite. Upotrijebite ga dok pišete obrazac za provjeru valjanosti za adrese e-pošte ili telefonske brojeve prije nego što ga zalijepite u svoj kôd.

Otvori alat →

Besplatno korištenje, bez prijave. Alat se otvara na vlastitoj stranici i pokreće u vašem pregledniku.

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 s All-Access Pro — $15 jednom.

Nabavite All-Access — $15 jednom

Alipay — $15

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

Radije Alipay? Pogledajte sve opcije plaćanja.

Već plaćeno? 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 Ostali alati alata

← Povratak na sve alate · Pregledajte vodiče