Ububiko bw'ibikoresho vy'ubuntu / Ibindi bikoresho / Regex Igerageza

Regex Igerageza

Igerageza rya regex ry'ubuntu: gerageza invugo isanzwe ku nyandiko yawe, raba ibihuye vyerekanwa, maze usuzume umugwi wose w'abafashe. Amabendera ashobora guhindurwa.

Gerageza imvugo isanzwe n'umwandiko wawe maze ubone igihuza cose kigaragazwa, n'umugwi wose w'abafashe uri ku rutonde ukwawo. Tunganya amabendera maze wongere ugerageze gushika iyo nkuru ifashe neza neza ivyo ushaka. Uyikoreshe mu gihe wandika urugero rwo kwemeza amaderesi ya email canke inomero za telefone imbere y’uko uyishira muri kode yawe.

Gufungura igikoresho →

Gukoresha ku buntu, nta kwiyandikisha. Ico gikoresho kirafunguka kuri paji yaco bwite maze kigakora mu mucukumbuzi wawe.

Ukeneye ibindi? Genda Pro

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

Kuronka Pro →

Ahipa — $5

Canke gufungura igikoresho cose ukoresheje Pro yo gushikira vyose — $15 rimwe.

Uronke uburenganzira bwose — $15 rimwe

Ahipa — $15

Ibiciro birahindurwa hakurikijwe igihugu rero ico gikoresho kimwe kigura make aho amafaranga yinjira ari make — urabona igiciro c’igihugu cawe.

Gukunda Alipay? Raba uburyo bwose bwo kwishura.

Waramaze kwishurwa? Injira muri Pro

Uko woyikoresha

  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.

Ibindi bikoresho Ibindi bikoresho

← Gusubira ku bikoresho vyose · Gushakisha uburongozi