Ủng hộ
Lập trình & AIXử lý tại máy · Không tải tệp lên máy chủ

Thử biểu thức chính quy

Inspect JavaScript regex matches, groups, and replacements before using a pattern in code. Flags control important behavior, including case sensitivity and whether matching continues after the first result.

cài đặt trước:
//g
0 trận đấues tìm thấy

Các trận đấu được đánh dấu trực tiếp

Deploy log 2026-11-29: Primary domain: https://privabench.com (origin 192.168.1.42) Contact: [email protected], [email protected] Theme accent: #4f46e5 and #10b981 on release v2.4.1

Cách dùng Kiểm tra regex

  1. Enter a pattern and flags.
  2. Paste representative test text.
  3. Inspect matches and capture groups.
  4. Try replacements and a deliberately nonmatching sample.

Hạn chế và kiểm tra kết quả

Regex syntax varies between programming languages. Complex patterns can backtrack heavily even with a short input, so execution belongs in a time-limited local worker. Test successful and failing examples; matching one example does not establish that a pattern validates every permitted input safely.

Quyền riêng tư

Patterns and text are evaluated on your device. The worker does not transmit logs or captured personal information. Lưu trữ, quảng cáo và các liên kết bên ngoài tùy chọn có hành vi mạng riêng được mô tả trong chính sách riêng tư.

Câu hỏi thường gặp

Mẹo thực tế, công thức và chi tiết riêng tư để sử dụng công cụ này.

Tại sao kiểm tra các mẫu regex ngoại tuyến thay vì hộp cát regex đám mây?

Các nhà phát triển thường xuyên dán nhật ký máy chủ thực, email khách hàng hoặc tải trọng API vào trình kiểm tra regex. Chạy 100% cục bộ trong trình duyệt của bạn đảm bảo không rò rỉ nhật ký.

Cờ g, i, m và s regex làm gì?

g khớp với tất cả các lần xuất hiện trên toàn cầu, tôi thực hiện khớp với chữ hoa chữ thường, m tạo ^ và $ khớp với bắt đầu / kết thúc của mỗi dòng và s để chấm (.) Khớp các ký tự dòng mới.

Tôi nên kiểm tra những gì trước khi sử dụng Kiểm tra regex?

Regex syntax varies between programming languages. Complex patterns can backtrack heavily even with a short input, so execution belongs in a time-limited local worker. Test successful and failing examples; matching one example does not establish that a pattern validates every permitted input safely.

Kiểm tra regex xử lý dữ liệu của tôi ở đâu?

Patterns and text are evaluated on your device. The worker does not transmit logs or captured personal information.

Làm cách nào để xem lại đầu ra từ Kiểm tra regex?

Enter a pattern and flags. Paste representative test text. Inspect matches and capture groups. Try replacements and a deliberately nonmatching sample.

Hơn Lập trình & AI Công cụ

Duyệt tất cả 50 công cụ
cũng trong Lập trình & AI:Đọc JWTSo sánh văn bản