Ọfẹ Irinṣẹ Directory / Awọn Irinṣẹ miiran / Oluyẹwo Regex

Oluyẹwo Regex

Idanwo regex ọfẹ: ṣe idanwo ikosile deede si ọrọ rẹ, wo awọn ifamisi awọn ere, ki o ṣayẹwo gbogbo ẹgbẹ imudani. Awọn asia adijositabulu.

Ṣe idanwo ikosile deede kan si ọrọ rẹ ki o wo gbogbo awọn ifamisi ere-kere, pẹlu ẹgbẹ gbigba kọọkan ti a ṣe akojọ lọtọ. Ṣatunṣe awọn asia ki o tun gbiyanju titi ti apẹrẹ yoo fi mu ohun ti o fẹ gangan. Lo lakoko kikọ apẹrẹ afọwọsi fun awọn adirẹsi imeeli tabi awọn nọmba foonu ṣaaju ki o to lẹẹmọ sinu koodu rẹ.

Ṣii ọpa →

Ọfẹ lati lo, ko si iforukọsilẹ. Ọpa naa ṣii lori oju-iwe tirẹ ati ṣiṣe ni ẹrọ aṣawakiri rẹ.

Nilo diẹ sii? Lọ Pro

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

Gba Pro →

Alipay - $5

Tabi ṣii gbogbo irinṣẹ pẹlu Gbogbo-Wiwọle Pro — $15 lẹẹkan.

Gba Gbogbo-Wiwọle — $15 lẹẹkan

Alipay - $15

Awọn idiyele ti wa ni titunse nipasẹ orilẹ-ede nitorina ohun elo kanna ni idiyele kere si nibiti awọn owo-wiwọle ti dinku - o rii idiyele fun orilẹ-ede rẹ.

Ṣe o fẹ Alipay? Wo gbogbo awọn aṣayan sisanwo.

Ti sanwo tẹlẹ? Wọle si Pro

Bawo ni lati lo

  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.

Awọn ibeere ti o wọpọ

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.

Awọn irinṣẹ Awọn Irinṣẹ miiran diẹ sii

← Pada si gbogbo awọn irinṣẹ · Ṣawakiri awọn itọsọna