Direktori Alat Gratis / Alat Lainnya / Penguji Regex

Penguji Regex

Penguji regex gratis: uji ekspresi reguler terhadap teks Anda, lihat kecocokan yang disorot, dan periksa setiap grup pengambilan. Bendera dapat disesuaikan.

Uji ekspresi reguler terhadap teks Anda dan lihat setiap kecocokan disorot, dengan setiap grup tangkapan dicantumkan secara terpisah. Sesuaikan bendera dan uji ulang hingga polanya sesuai dengan keinginan Anda. Gunakan saat menulis pola validasi untuk alamat email atau nomor telepon sebelum Anda menempelkannya ke kode Anda.

Buka alat →

Gratis untuk digunakan, tidak perlu mendaftar. Alat ini terbuka di halamannya sendiri dan berjalan di browser Anda.

Butuh lebih banyak? Menjadi Pro

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

Dapatkan Pro →

Alipay — $5

Atau buka kunci setiap alat dengan All-Access Pro — $15 satu kali.

Dapatkan Akses Lengkap — $15 sekali

Alipay — $15

Harga disesuaikan menurut negara sehingga alat yang sama akan lebih murah jika pendapatannya lebih rendah — Anda akan melihat harganya di negara Anda.

Lebih suka Alipay? Lihat semua opsi pembayaran.

Sudah dibayar? Masuk ke Pro

Bagaimana cara menggunakannya

  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.

Pertanyaan umum

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.

Alat Alat Lainnya lainnya

← Kembali ke semua alat · Telusuri panduan