Cara menggunakan
- Type a pattern and choose flags.
- Paste the text to test.
- Read the highlighted matches and the capture-group table.
Untuk siapa
Developers writing validation rules, analysts extracting data from logs, and anyone learning regular expressions.
Contoh penggunaan
(\w+)@(\w+\.\w+) matches an email address and captures the local part and the domain separately.
Batasan
Uses JavaScript's regular-expression engine, which differs from PCRE and Python in some constructs. Matching stops after 2,000 results to keep the page responsive.
Privasi
What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.
Pertanyaan umum
Why is the g flag always on?
The tester needs a global search to highlight every match. Your pattern still works the same way.
Info singkat
- Kategori
- Alat Pengembang
- Berjalan di
- Ponsel, tablet, dan desktop
- Akun
- Tidak diperlukan
- Harga
- Gratis
- Data
- Tetap di perangkat Anda
- Diperbarui