Penguji Regex — Uttir
Skip to main content

Penguji Regex

Uji ekspresi reguler secara real time dengan penyorotan kecocokan. Gratis, di browser Anda, tanpa unggahan.

Penguji Regex — Regular expressions are powerful but easy to get wrong. This tester shows you exactly what your pattern matches as you type, highlighting every match in your test text and listing capture groups so you can verify the pattern before you ship it.

Your pattern and test text are processed entirely in your browser and never uploaded.

Was Penguji Regex useful?

Apa itu Penguji Regex?

Regular expressions are powerful but easy to get wrong. This tester shows you exactly what your pattern matches as you type, highlighting every match in your test text and listing capture groups so you can verify the pattern before you ship it.

Everything runs locally with the browser’s native regex engine, so patterns and sample data never leave the page — fine for testing against real user data, logs, or anything sensitive.

Cara menggunakannya

  1. Type your pattern

    For example: \b\w+@\w+\.\w+ to match email addresses.

  2. Toggle flags

    Case-insensitive, multiline, dot-all, Unicode, and sticky modes.

  3. Enter test text

    Every match is highlighted and listed with its capture groups.

Contoh

Find email addresses

A simple pattern that finds email-like strings in a block of text.

\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}\b

Hasil: All email addresses in the test text, highlighted with capture groups shown.

Pertanyaan yang sering diajukan

Panduan terkait

Peralatan terkait

Last reviewed: 2026-11-21