🏠 Beranda
Benchmark
📊 Semua Benchmark 🦖 Dinosaurus v1 🦖 Dinosaurus v2 ✅ Aplikasi To-Do List 🎨 Halaman Bebas Kreatif 🎯 FSACB - Showcase Utama 🌍 Benchmark Terjemahan
Model
🏆 Top 10 Model 🆓 Model Gratis 📋 Semua Model ⚙️ Kilo Code
Sumber Daya
💬 Perpustakaan Prompt 📖 Glosarium AI 🔗 Tautan Berguna
Advanced

Complex Regex Engineering

#regex #pattern-matching #validation

Construct a regular expression for a specific custom data validation rule.

Create a single regular expression that validates a specific custom ID format: The ID must start with 3 uppercase letters, followed by a hyphen, then 5 digits where the sum of the digits is even, followed by a special character from the set !@#$, and ending with either 'X' or 'Y'. Provide a breakdown explanation for every capture group and token used in the pattern.