Ububiko bwibikoresho byubusa / Ibindi bikoresho / Ikizamini cya Regex

Ikizamini cya Regex

Ikizamini cya regex yubusa: gerageza imvugo isanzwe irwanya inyandiko yawe, reba imikino yagaragaye, kandi ugenzure buri tsinda rifata. Amabendera arashobora guhinduka.

Gerageza imvugo isanzwe irwanya inyandiko yawe hanyuma urebe buri mukino wagaragaye, hamwe na buri tsinda ryafashwe ryashyizwe kurutonde. Hindura amabendera hanyuma usubiremo kugeza igihe icyitegererezo gifashe neza icyo ushaka. Koresha mugihe wandika uburyo bwo kwemeza aderesi imeri cyangwa nimero za terefone mbere yuko ubishyira muri kode yawe.

Fungura igikoresho →

Ubuntu bwo gukoresha, nta kwiyandikisha. Igikoresho gifungura kurupapuro rwacyo kandi gikora muri mushakisha yawe.

Ukeneye byinshi? Genda Pro

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

Kubona Pro →

Alipay - $5

Cyangwa fungura igikoresho cyose hamwe na All-Access Pro - $15 rimwe.

Kubona Byose-Kubona - $15 rimwe

Alipay - $15

Ibiciro byahinduwe nigihugu kuburyo igikoresho kimwe kigura make aho amafaranga yinjiza ari make - urabona igiciro cyigihugu cyawe.

Hitamo Alipay? Reba uburyo bwose bwo kwishyura.

Bimaze kwishyurwa? Injira muri Pro

Uburyo bwo kuyikoresha

  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.

Ibibazo bisanzwe

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.

Ibikoresho byinshi Ibindi bikoresho

Subira ku bikoresho byose · Shakisha ubuyobozi