ทดสอบและดีบัก regexคืออะไร?

ทดสอบและดีบัก regex ฟรีออนไลน์ เขียนแพทเทิร์นพร้อมแฟล็ก ดูการเน้นการจับคู่แบบเรียลไทม์ ตรวจสอบกลุ่มที่จับได้และดัชนีการจับคู่

ทำไมต้องใช้ ทดสอบและดีบัก regex?

  • match highlighting in the test string สด
  • Capture group extraction with group numbers
  • All six regex flags supported (g/i/m/s/u/y)
  • Match index positions and count display

วิธีใช้ ทดสอบและดีบัก regex — ทีละขั้นตอน

1

ป้อนของคุณ regex pattern in pattern field.

2

เปิดปิดflags (g, i, m, s, u, y) as needed.

3

วางของคุณ test string into พื้นที่ป้อนข้อมูล.

4

ดูhighlighted matches and capture groups below.

ทดสอบและดีบัก regexเหมาะกับใคร?

  • pattern validation
  • data extraction
  • log parsing
  • string matching

ทดสอบและดีบัก regex — คำถามที่พบบ่อย

What regex flavor is supported?

The tool uses JavaScript's native RegExp engine, which supports the standard ECMAScript regex syntax.

What does the sticky (y) flag do?

The sticky flag matches only at the regex lastIndex position, not just anywhere in the string. It is useful for incremental parsing.

พร้อมใช้ ทดสอบและดีบัก regex หรือยัง?

เครื่องมือออนไลน์ฟรี — ทำงานในเบราว์เซอร์ของคุณ ไม่ต้องสมัคร เริ่มใช้ได้เลยตอนนี้

ลองเลย
Free Forever · No Sign-up

179 Free Tools at Your Fingertips

All free online tools for developers, designers, students, and creators. Every tool works in your browser — no sign-up, no data collection.