Trình kiểm tra và gỡ lỗi biểu thức chính quy là gì?

Trình kiểm tra và gỡ lỗi biểu thức chính quy trực tuyến miễn phí. Viết mẫu với cờ, xem đánh dấu kết quả trực tiếp, kiểm tra nhóm và chỉ mục.

Tại sao nên dùng Trình kiểm tra và gỡ lỗi biểu thức chính quy?

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

Cách sử dụng Trình kiểm tra và gỡ lỗi biểu thức chính quy — Hướng dẫn từng bước

1

Nhập của bạn regex pattern in pattern field.

2

Bật/tắt flags (g, i, m, s, u, y) as needed.

3

Dán của bạn test string into khu vực nhập liệu.

4

Xem highlighted matches and capture groups below.

Trình kiểm tra và gỡ lỗi biểu thức chính quy phù hợp với ai?

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

Trình kiểm tra và gỡ lỗi biểu thức chính quy — Các câu hỏi thường gặp

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.

Sẵn sàng sử dụng Trình kiểm tra và gỡ lỗi biểu thức chính quy?

Công cụ trực tuyến miễn phí — hoạt động trong trình duyệt, không cần đăng ký. Bắt đầu sử dụng ngay bây giờ.

Dùng thử ngay
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.