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
📋Trình định dạng JSON🗃️Trình định dạng SQL📄Trình định dạng XML🌐Trình định dạng HTML🎨Trình định dạng CSS🔐Base64 Mã hóa/Giải mã🔗URL Mã hóa/Giải mã🏷️HTML Escape/Unescape🎫Bộ giải mã JWT🆔Trình tạo UUID🔑Trình tạo mật khẩu🔒SHA-256 Hash🔏MD5 Hash🛡️Trình tạo HMAC🎨Bảng màu⏱️Trình phân tích Cron📡Trình phân tích HTTP Header🔗Trình phân tích URL❓Trình phân tích Query String📝So sánh văn bản🔄JSON ↔ YAML📊JSON ↔ CSV⏰Unix Timestamp📅Ngày ISO 8601