Trình kiểm tra Regex

Kiểm tra biểu thức chính quy với khớp thời gian thực.

Regex Tester is a real-time regular expression testing tool. Enter a pattern and test string to instantly see all matches, captured groups, and match positions with highlighted results.

Features

  • Real-time pattern matching
  • Flag support (g, i, m, s)
  • Match highlighting with colors
  • Captured group display
  • Match count and positions

Usage Example

// Pattern: (\d{3})-(\d{4})
// Test: Call 123-4567 or 987-6543
// Matches: 123-4567, 987-6543
// Groups: [123, 4567], [987, 6543]

FAQ

What is regex?

Regular expressions (regex) are patterns used to match character combinations in strings. They are used in search, validation, and text manipulation.

What do the flags mean?

g = global (find all matches), i = case-insensitive, m = multiline (^ and $ match line boundaries), s = dotAll (. matches newlines).

Công cụ Nhà phát triển

Từ nhà phát triểnAR

MeasureKit AR

Đo thế giới bằng AR

Đo khoảng cách theo thời gian thực bằng camera điện thoại và công nghệ AR. Không cần thước dây.

Tải trên Google Play
MeasureKit AR QR Code

Quét mã QR để tải ứng dụng