🏠 首页
基准测试
📊 所有基准测试 🦖 恐龙 v1 🦖 恐龙 v2 ✅ 待办事项应用 🎨 创意自由页面 🎯 FSACB - 终极展示 🌍 翻译基准测试
模型
🏆 前 10 名模型 🆓 免费模型 📋 所有模型 ⚙️ 🛠️ 千行代码模式
资源
💬 💬 提示库 📖 📖 AI 词汇表 🔗 🔗 有用链接
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.